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

whitespace cleanup

This commit is contained in:
Konstantin Shabanov 2011-07-04 02:09:17 +07:00
parent 09efa3e579
commit 8e7921c67d
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ class AASM::I18n
defaults = ancestors_list(klass).map do |ancestor|
:"#{i18n_scope(klass)}.events.#{i18n_klass(ancestor)}.#{event}"
end << event.to_s.humanize
I18n.translate(defaults.shift, :default => defaults, :raise => true)
end

View file

@ -10,7 +10,7 @@ end
class I18nTestModel < ActiveRecord::Base
include AASM
attr_accessor :aasm_state
aasm_initial_state :open
@ -26,7 +26,7 @@ describe AASM::I18n do
I18n.load_path << 'spec/en.yml'
I18n.default_locale = :en
end
after(:all) { I18n.load_path.clear }
before do