lib/matchbox.rb in matchbox-1.0.0 vs lib/matchbox.rb in matchbox-1.0.1

- old
+ new

@@ -1,11 +1,11 @@ # Test::Unit assertions for RSpec and Shoulda matchers. # # I created this since: # # * I like assertions, not the Shoulda "should" statements. -# * I want to use `shoulda-matchers` in my Rails project. +# * I want to use shoulda-matchers in my Rails project. # * I'm in love with the simplicity of the contest gem. # # These methods are based upon those found in shoulda-context. # # With shoulda-matchers, it can be used like so: @@ -36,8 +36,12 @@ matched = matcher.matches?(target) assert_block(matcher.negative_failure_message) { !matched } end end -class Test::Unit::TestCase - include Matchbox +module Test + module Unit + class TestCase + include Matchbox + end + end end \ No newline at end of file