Permalink
Browse files

Fix broken tests

  • Loading branch information...
1 parent f5e5a5b commit 147c20b62919aaebda0cafc0419154042b7a0c64 @spastorino spastorino committed Mar 10, 2012
Showing with 4 additions and 1 deletion.
  1. +2 −0 actionmailer/test/base_test.rb
  2. +2 −1 railties/test/application/initializers/frameworks_test.rb
@@ -1,5 +1,7 @@
# encoding: utf-8
require 'abstract_unit'
+require 'set'
+
require 'active_support/time'
require 'mailers/base_mailer'
@@ -1,4 +1,5 @@
require "isolation/abstract_unit"
+require 'set'
module ApplicationTests
class FrameworksTest < ActiveSupport::TestCase
@@ -66,7 +67,7 @@ def notify
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

0 comments on commit 147c20b

Please sign in to comment.