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:
parent
7ce3032968
commit
806498c64d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue