Browse files

use double quotes (consistency w/in the file)

  • Loading branch information...
1 parent ed5a3be commit 6e02be3bfdfd320d4689b94ad8065399e297cd44 @dchelimsky dchelimsky committed Jun 19, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 spec/rspec/core/example_spec.rb
View
8 spec/rspec/core/example_spec.rb
@@ -27,7 +27,7 @@ def capture_stdout
$stdout = orig_stdout
end
- it 'can be pretty printed' do
+ it "can be pretty printed" do
output = ignoring_warnings { capture_stdout { pp example_instance } }
expect(output).to include("RSpec::Core::Example")
end
@@ -164,7 +164,7 @@ def assert(val)
end
end
- describe '#described_class' do
+ describe "#described_class" do
it "returns the class (if any) of the outermost example group" do
expect(described_class).to eq(RSpec::Core::Example)
end
@@ -333,7 +333,7 @@ def run_and_capture_reported_message(group)
expect(message).to match(/An error occurred in an after.* hook/i)
end
- it 'does not print mock expectation errors' do
+ it "does not print mock expectation errors" do
group = RSpec::Core::ExampleGroup.describe do
example do
foo = double
@@ -422,7 +422,7 @@ def run_and_capture_reported_message(group)
end
end
- it 'does not interfere with per-example randomness when running examples in a random order' do
+ it "does not interfere with per-example randomness when running examples in a random order" do
values = []
RSpec.configuration.order = :random

0 comments on commit 6e02be3

Please sign in to comment.