diff --git a/spec/models/callbacks/with_state_arg.rb b/spec/models/callbacks/with_state_arg.rb index 2f259ae..58c0bc4 100644 --- a/spec/models/callbacks/with_state_arg.rb +++ b/spec/models/callbacks/with_state_arg.rb @@ -4,7 +4,7 @@ module Callbacks include AASM aasm do - state :open, :inital => true + state :open, :initial => true state :closed state :out_to_lunch diff --git a/spec/models/callbacks/with_state_arg_multiple.rb b/spec/models/callbacks/with_state_arg_multiple.rb index 29b9fed..dadf6c0 100644 --- a/spec/models/callbacks/with_state_arg_multiple.rb +++ b/spec/models/callbacks/with_state_arg_multiple.rb @@ -4,7 +4,7 @@ module Callbacks include AASM aasm(:left) do - state :open, :inital => true + state :open, :initial => true state :closed state :out_to_lunch