aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/app_loader_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/app_loader_test.rb')
-rw-r--r--railties/test/app_loader_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/railties/test/app_loader_test.rb b/railties/test/app_loader_test.rb
index 93ed68fabb..0deb1a76df 100644
--- a/railties/test/app_loader_test.rb
+++ b/railties/test/app_loader_test.rb
@@ -9,12 +9,12 @@ class AppLoaderTest < ActiveSupport::TestCase
@loader ||= Class.new do
extend Rails::AppLoader
- def self.exec_arguments
- @exec_arguments
- end
+ class << self
+ attr_accessor :exec_arguments
- def self.exec(*args)
- @exec_arguments = args
+ def exec(*args)
+ self.exec_arguments = args
+ end
end
end
end