mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed typo in railties/test
This commit is contained in:
parent
8caafd9076
commit
5546081c4f
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ module ApplicationTests
|
||||||
assert_no_match(/<script src="\/assets\/xmlhr-([0-z]+)\.js"><\/script>/, last_response.body)
|
assert_no_match(/<script src="\/assets\/xmlhr-([0-z]+)\.js"><\/script>/, last_response.body)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "assets aren't concatened when compile is true is on and debug_assets params is true" do
|
test "assets aren't concatenated when compile is true is on and debug_assets params is true" do
|
||||||
add_to_env_config "production", "config.assets.compile = true"
|
add_to_env_config "production", "config.assets.compile = true"
|
||||||
|
|
||||||
ENV["RAILS_ENV"] = "production"
|
ENV["RAILS_ENV"] = "production"
|
||||||
|
|
|
@ -45,7 +45,7 @@ module ApplicationTests
|
||||||
end
|
end
|
||||||
|
|
||||||
# Load paths
|
# Load paths
|
||||||
test "no config locales dir present should return empty load path" do
|
test "no config locales directory present should return empty load path" do
|
||||||
FileUtils.rm_rf "#{app_path}/config/locales"
|
FileUtils.rm_rf "#{app_path}/config/locales"
|
||||||
load_app
|
load_app
|
||||||
assert_equal [], Rails.application.config.i18n.load_path
|
assert_equal [], Rails.application.config.i18n.load_path
|
||||||
|
|
Loading…
Reference in a new issue