spec/discoverer/discoverer_spec.rb in discoverer-0.0.2 vs spec/discoverer/discoverer_spec.rb in discoverer-0.0.3

- old
+ new

@@ -30,10 +30,10 @@ context 'the class has not name' do it 'should return false' do module SomeAdaptation; end - not_name = stub 'not name' + not_name = double 'not name' not_name.should_receive(:name).and_return nil Discoverer.has_adapter_for?(SomeAdaptation, not_name).should == false end end end \ No newline at end of file