Sha256: 8e2259d7dd1d48bef6549f436c9f9540229e19f543747edccdbd7d5cf891fb09
Contents?: true
Size: 573 Bytes
Versions: 18
Compression:
Stored size: 573 Bytes
Contents
require "spec_helper" RSpec.describe "I18n" do before :all do drop_dummy_database remove_project_directory create_dummy_project("locale" => "es-CL") end it "adds the Clockwork gem to Gemfile" do content = IO.read("#{project_path}/Gemfile") expect(content).to include("gem 'rails-i18n'") end it "configures application.rb" do content = IO.read("#{project_path}/config/application.rb") expect(content).to include("config.i18n.default_locale = 'es-CL'") expect(content).to include("config.i18n.fallbacks = [:es, :en]") end end
Version data entries
18 entries across 18 versions & 1 rubygems