From b2542feba4b4b1c007c7e1d01634b74a631149a1 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Tue, 31 Dec 2013 13:12:26 +0100 Subject: [PATCH] style --- spec/unit/mutant/cli/classifier/method_spec.rb | 2 +- spec/unit/mutant/cli/classifier/namespace/flat_spec.rb | 4 ++-- spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/unit/mutant/cli/classifier/method_spec.rb b/spec/unit/mutant/cli/classifier/method_spec.rb index 1127a2f0..d3d028fc 100644 --- a/spec/unit/mutant/cli/classifier/method_spec.rb +++ b/spec/unit/mutant/cli/classifier/method_spec.rb @@ -11,7 +11,7 @@ describe Mutant::CLI::Classifier::Method, '#each' do let(:unknown_method) { '::TestApp::Literal#unknown' } context 'with a block' do - subject { object.each { } } + subject { object.each {} } context 'with an instance method name' do let(:input) { instance_method } diff --git a/spec/unit/mutant/cli/classifier/namespace/flat_spec.rb b/spec/unit/mutant/cli/classifier/namespace/flat_spec.rb index a03e32aa..83ad026b 100644 --- a/spec/unit/mutant/cli/classifier/namespace/flat_spec.rb +++ b/spec/unit/mutant/cli/classifier/namespace/flat_spec.rb @@ -9,7 +9,7 @@ describe Mutant::CLI::Classifier::Namespace::Flat, '#each' do let(:unknown_namespace) { '::TestApp::Object' } context 'with a block' do - subject { object.each { } } + subject { object.each {} } context 'with a known namespace' do let(:input) { known_namespace } @@ -51,7 +51,7 @@ describe Mutant::CLI::Classifier::Namespace::Flat, '#each' do let(:input) { unknown_namespace } it 'raises an exception when #each is called' do - expect { subject.each { } }.to raise_error(NameError) + expect { subject.each {} }.to raise_error(NameError) end end end diff --git a/spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb b/spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb index 00128a4d..3e3f3cd5 100644 --- a/spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb +++ b/spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb @@ -9,7 +9,7 @@ describe Mutant::CLI::Classifier::Namespace::Recursive, '#each' do let(:unknown_namespace) { '::TestApp::Object' } context 'with a block' do - subject { object.each { } } + subject { object.each {} } context 'with a known namespace' do let(:input) { known_namespace } @@ -51,7 +51,7 @@ describe Mutant::CLI::Classifier::Namespace::Recursive, '#each' do let(:input) { unknown_namespace } it 'raises an exception when #each is called' do - expect { subject.each { } }.to raise_error(NameError) + expect { subject.each {} }.to raise_error(NameError) end end end