@@ -12,7 +12,7 @@ class AppEnvTest < ActiveSupport::TestCase
1212 end
1313
1414 test "Rails.app_env is a kind of ActiveSupport::EnvironmentInquirer when APP_ENV is blank" do
15- with_app_env ( nil ) do
15+ with_app_env ( nil ) do
1616 assert_kind_of ActiveSupport ::EnvironmentInquirer , Rails . app_env
1717 end
1818 end
@@ -42,7 +42,7 @@ class AppEnvTest < ActiveSupport::TestCase
4242 end
4343
4444 test "Rails.app_env falls back to Rails.env when APP_ENV is blank but RAILS_ENV is present" do
45- with_app_env ( nil ) do
45+ with_app_env ( nil ) do
4646 with_rails_env ( "foo" ) do
4747 assert_equal "foo" , Rails . app_env
4848 assert_equal "foo" , Rails . env
@@ -51,7 +51,7 @@ class AppEnvTest < ActiveSupport::TestCase
5151 end
5252
5353 test "Rails.app_env falls back to default Rails.env when both APP_ENV and RAILS_ENV are blank" do
54- with_app_env ( nil ) do
54+ with_app_env ( nil ) do
5555 with_rails_env ( nil ) do
5656 assert_equal DEFAULT_RAILS_ENV , Rails . app_env
5757 assert_equal DEFAULT_RAILS_ENV , Rails . env
@@ -88,7 +88,7 @@ class AppEnvTest < ActiveSupport::TestCase
8888 end
8989
9090 test "Rails.app_env does not follow Rails.env changes when APP_ENV is blank but RAILS_ENV is present" do
91- with_app_env ( nil ) do
91+ with_app_env ( nil ) do
9292 with_rails_env ( "foo" ) do
9393 assert_equal "foo" , Rails . app_env
9494 assert_equal "foo" , Rails . env
@@ -102,7 +102,7 @@ class AppEnvTest < ActiveSupport::TestCase
102102 end
103103
104104 test "Rails.app_env does not follow Rails.env changes when both APP_ENV and RAILS_ENV are blank" do
105- with_app_env ( nil ) do
105+ with_app_env ( nil ) do
106106 with_rails_env ( nil ) do
107107 assert_equal DEFAULT_RAILS_ENV , Rails . app_env
108108 assert_equal DEFAULT_RAILS_ENV , Rails . env
0 commit comments