style
This commit is contained in:
parent
33745a608b
commit
b2542feba4
3 changed files with 5 additions and 5 deletions
spec/unit/mutant/cli/classifier
|
@ -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 }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue