spec/java/persistence_spec.rb in handle-system-0.0.7 vs spec/java/persistence_spec.rb in handle-system-0.1.0
- old
+ new
@@ -37,10 +37,10 @@
expect { subject.save }.to raise_error(Handle::HandleError)
end
it "nil handle, param" do
connection.should_receive(:create_handle).with(fake_handle, subject) { true }
- expect(subject.save(fake_handle)).to be_true
+ expect(subject.save(fake_handle)).to be_truthy
end
it "existing handle, no existing record" do
subject.handle = fake_handle
current = subject.to_s