aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-06-29 16:50:51 +0200
committerJosé Valim <jose.valim@gmail.com>2012-06-29 17:04:47 +0200
commit50b6110106a6e467f5e5f6303700522cebc60a9c (patch)
tree8d849c6d02a1df79fdefaf74322a9a8ef5d3eb39 /railties/test
parent0470ddcf0301e537d5151d62177eadba5eae182d (diff)
downloadrails-50b6110106a6e467f5e5f6303700522cebc60a9c.tar.gz
rails-50b6110106a6e467f5e5f6303700522cebc60a9c.tar.bz2
rails-50b6110106a6e467f5e5f6303700522cebc60a9c.zip
Remove unused responsibilities and add a few load definitions to engines
Since plugins were removed, we can clean up a few methods in engines. We also use this opportunity to move `load_console`, `load_tasks` and `load_runner` to Rails::Engine. This means that, if someone wants to improve script/rails for engines to support console or runner commands, part of the work is already done.
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/railties/engine_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/railties/engine_test.rb b/railties/test/railties/engine_test.rb
index 52c7fae6c6..63814f7a04 100644
--- a/railties/test/railties/engine_test.rb
+++ b/railties/test/railties/engine_test.rb
@@ -1098,7 +1098,7 @@ YAML
assert_equal "// App's bar js\n;", last_response.body.strip
# ensure that railties are not added twice
- railties = Rails.application.ordered_railties.map(&:class)
+ railties = Rails.application.send(:ordered_railties).map(&:class)
assert_equal railties, railties.uniq
end