Fix code style

This commit is contained in:
Markus Schirp 2014-10-24 21:33:52 +00:00
parent a8e8ba7359
commit cb814cd529
4 changed files with 9 additions and 5 deletions

View file

@ -16,5 +16,3 @@ module RbBug
end end
end # RbBug end # RbBug

View file

@ -79,7 +79,13 @@ describe Mutant::Runner::Collector do
it 'aggregates results in #result' do it 'aggregates results in #result' do
subject subject
expect(object.result).to eql(Mutant::Result::Env.new(env: object.env, runtime: 0.0, subject_results: [subject_a_result])) expect(object.result).to eql(
Mutant::Result::Env.new(
env: object.env,
runtime: 0.0,
subject_results: [subject_a_result]
)
)
end end
it_should_behave_like 'a command method' it_should_behave_like 'a command method'

View file

@ -35,7 +35,7 @@ RSpec.describe Mutant::Subject::Method::Instance do
describe '#match_expression' do describe '#match_expression' do
subject { object.match_expressions } subject { object.match_expressions }
it { should eql(%w(Test#foo Test*).map(&Mutant::Expression.method(:parse))) } it { should eql(%w[Test#foo Test*].map(&Mutant::Expression.method(:parse))) }
it_should_behave_like 'an idempotent method' it_should_behave_like 'an idempotent method'
end end

View file

@ -30,7 +30,7 @@ RSpec.describe Mutant::Subject::Method::Singleton do
describe '#match_expression' do describe '#match_expression' do
subject { object.match_expressions } subject { object.match_expressions }
it { should eql(%w(Test.foo Test*).map(&Mutant::Expression.method(:parse))) } it { should eql(%w[Test.foo Test*].map(&Mutant::Expression.method(:parse))) }
it_should_behave_like 'an idempotent method' it_should_behave_like 'an idempotent method'
end end