aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-03-10 19:13:12 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2012-03-10 19:15:29 -0200
commit147c20b62919aaebda0cafc0419154042b7a0c64 (patch)
tree15c46134d3b3bfb5112f4383d086f99c3236aad8 /railties/test
parentf5e5a5bb74b507acb884845de27cf61a3e558edb (diff)
downloadrails-147c20b62919aaebda0cafc0419154042b7a0c64.tar.gz
rails-147c20b62919aaebda0cafc0419154042b7a0c64.tar.bz2
rails-147c20b62919aaebda0cafc0419154042b7a0c64.zip
Fix broken tests
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/initializers/frameworks_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/application/initializers/frameworks_test.rb b/railties/test/application/initializers/frameworks_test.rb
index 8224b20d90..a08e5b2374 100644
--- a/railties/test/application/initializers/frameworks_test.rb
+++ b/railties/test/application/initializers/frameworks_test.rb
@@ -1,4 +1,5 @@
require "isolation/abstract_unit"
+require 'set'
module ApplicationTests
class FrameworksTest < ActiveSupport::TestCase
@@ -66,7 +67,7 @@ module ApplicationTests
require "#{app_path}/config/environment"
assert Foo.method_defined?(:foo_path)
assert Foo.method_defined?(:main_app)
- assert_equal ["notify"], Foo.action_methods
+ assert_equal Set.new(["notify"]), Foo.action_methods
end
test "allows to not load all helpers for controllers" do