1
0
Fork 0
This commit is contained in:
Markus Schirp 2013-12-31 13:12:26 +01:00
parent 33745a608b
commit b2542feba4
3 changed files with 5 additions and 5 deletions
spec/unit/mutant/cli/classifier

View file

@ -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 }

View file

@ -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

View file

@ -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