Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Mar 10, 2012
1 parent f5e5a5b commit 147c20b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actionmailer/test/base_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# encoding: utf-8
require 'abstract_unit'
require 'set'

require 'active_support/time'

require 'mailers/base_mailer'
Expand Down
3 changes: 2 additions & 1 deletion railties/test/application/initializers/frameworks_test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require "isolation/abstract_unit"
require 'set'

module ApplicationTests
class FrameworksTest < ActiveSupport::TestCase
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 147c20b

Please sign in to comment.