spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb in mutant-0.3.1 vs spec/unit/mutant/cli/classifier/namespace/recursive_spec.rb in mutant-0.3.2
- old
+ new
@@ -7,11 +7,11 @@
let(:cache) { Mutant::Cache.new }
let(:known_namespace) { '::TestApp::Literal' }
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 }
it_behaves_like 'a command method'
@@ -49,10 +49,10 @@
context 'with an unknown namespace' 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
end