1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Change new spec from 7ce3032 to old hash syntax.

This commit is contained in:
Aaron Klaassen 2013-12-04 11:39:01 -06:00
parent 7ce3032968
commit 806498c64d

View file

@ -51,7 +51,7 @@ describe "instance methods" do
it "should call aasm_ensure_initial_state before create, even if skipping validations" do it "should call aasm_ensure_initial_state before create, even if skipping validations" do
gate.should_receive(:aasm_ensure_initial_state).and_return(true) gate.should_receive(:aasm_ensure_initial_state).and_return(true)
gate.save(validate: false) gate.save(:validate => false)
end end
it "should not call aasm_ensure_initial_state on validation before update" do it "should not call aasm_ensure_initial_state on validation before update" do