diff --git a/config/initializers/i18n.rb b/config/initializers/i18n.rb index 5513cd0..103d845 100644 --- a/config/initializers/i18n.rb +++ b/config/initializers/i18n.rb @@ -90,9 +90,11 @@ module I18n end def initialize + if Rails.env.test? || !File.exist?(filename) + File.open(@@translation_cache_file, 'w+') + end if Rails.env.test? File.open(@@translations_file, 'w+') - File.open(@@translation_cache_file, 'w+') end @@translation_cache = YAML.load(File.read(@@translation_cache_file)) || Hash.new super diff --git a/spec/features/pages_spec.rb b/spec/features/pages_spec.rb deleted file mode 100644 index ff2e903..0000000 --- a/spec/features/pages_spec.rb +++ /dev/null @@ -1,8 +0,0 @@ -require 'spec_helper' - -describe 'Home' do - #it "has Hello World in title" do - # visit root_path - # expect(page).to have_title I18n.t('hello') - #end -end diff --git a/wizard.jpg b/wizard.jpg deleted file mode 100644 index 35cadde..0000000 Binary files a/wizard.jpg and /dev/null differ