Skip to content

Commit

Permalink
use double quotes (consistency w/in the file)
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Jun 19, 2013
1 parent ed5a3be commit 6e02be3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/rspec/core/example_spec.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6e02be3

Please sign in to comment.