Skip to content

Commit

Permalink
Corrects some issues with merb_test_unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neighman committed Mar 5, 2008
1 parent 7e68445 commit d550c0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion merb_test_unit/lib/asserts/hpricot_asserts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

module Merb::Test::Unit::HpricotAsserts
include Test::Unit::Assertions
include Merb::Test::HpricotHelper
# include Merb::Test::HpricotHelper

def assert_elements(css_query, output = nil, equality = {}, &block)
message = equality.delete(:message) if equality.is_a?(Hash)
Expand Down
4 changes: 3 additions & 1 deletion merb_test_unit/lib/merb_test_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
require 'hpricot'

require 'test/unit'
require 'merb-core/test/test_ext/hpricot'
require 'merb-core/test/test_ext/object'

module Merb::Test::Unit
end

require File.join(File.dirname(__FILE__) / 'asserts' / 'hpricot_asserts')
require File.join(File.dirname(__FILE__) / 'asserts' / 'controller_asserts')
end

0 comments on commit d550c0c

Please sign in to comment.