spec/service_spec.rb in jn_services-1.0.1 vs spec/service_spec.rb in jn_services-1.0.2
- old
+ new
@@ -11,8 +11,9 @@
members[0].to_hash.should eql m1.to_hash
members[1].to_hash.should eql m2.to_hash
end
it 'should handle non-existant services' do
- expect { Services::Service.new 'should_not_exist' }.to_not raise_error
+ a = Services::Service.new 'should_not_exist'
+ a.name.should eql 'should_not_exist'
end
end