From 4409bd821765d0c9cfa56dedfd0512cf05a0264c Mon Sep 17 00:00:00 2001 From: Rin Raeuber Date: Tue, 6 Oct 2015 15:01:01 +0200 Subject: [PATCH] Fix typo in specs. --- spec/models/callbacks/with_state_arg.rb | 2 +- spec/models/callbacks/with_state_arg_multiple.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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