Skip to content

Commit

Permalink
Changed locale loading in spec to new style.
Browse files Browse the repository at this point in the history
  • Loading branch information
clemens committed Dec 3, 2008
1 parent 1257c83 commit 8bc85aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/localized_dates_spec.rb
Expand Up @@ -4,8 +4,8 @@
before(:each) do
# load locale files
locales_dir = File.dirname(__FILE__) + "/../lib/templates/locales"
I18n.load_translations("#{locales_dir}/en.rb")
I18n.load_translations("#{locales_dir}/en.yml")
I18n.load_path << "#{locales_dir}/en.rb"
I18n.load_path << "#{locales_dir}/en.yml"

# set up defaults
@date_defaults = { :default => "%Y-%m-%d",
Expand Down

0 comments on commit 8bc85aa

Please sign in to comment.