Translations
This commit is contained in:
parent
e5f9dc5666
commit
ad2a897ef7
@ -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
|
||||
|
@ -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
|
BIN
wizard.jpg
BIN
wizard.jpg
Binary file not shown.
Before Width: | Height: | Size: 60 KiB |
Loading…
x
Reference in New Issue
Block a user