spec/memento_spec.rb in memento-0.4.3 vs spec/memento_spec.rb in memento-0.5.0
- old
+ new
@@ -92,11 +92,11 @@
end
it "should give back false when no states created" do
Memento(@user) do
1 + 1
- end.should be_false
+ end.should eql(false)
end
it "should raise error in block and stop session" do
lambda {
Memento(@user) do
@@ -205,6 +205,6 @@
Memento.should_not be_ignore
end
end
end
-end
\ No newline at end of file
+end