Permalink
Browse files

Don't try to mixin the Assertion automatically on load.

  • Loading branch information...
1 parent 91c923d commit e2dba5852355b3b90ca438d529a3f23b8c415688 @alloy alloy committed Aug 6, 2010
Showing with 0 additions and 16 deletions.
  1. +0 −3 lib/mollie/sms/test_helper.rb
  2. +0 −13 spec/test_helper_spec.rb
@@ -203,7 +203,4 @@ def stubbed_response
end
end
-if defined?(Test::Unit::TestCase)
- Test::Unit::TestCase.send(:include, Mollie::SMS::TestHelper::Assertions)
-end
Mollie::SMS.send(:include, Mollie::SMS::TestHelper::SMSExt)
View
@@ -1,11 +1,4 @@
require File.expand_path("../spec_helper", __FILE__)
-
-module Test
- class Unit
- class TestCase
- end
- end
-end
require "mollie/sms/test_helper"
describe "Mollie::SMS ext" do
@@ -54,12 +47,6 @@ class TestCase
describe "Mollie::SMS::TestHelper::Assertions" do
extend Mollie::SMS::TestHelper::Assertions
- it "automatically includes the Assertions module into Test::Unit::TestCase" do
- methods = Test::Unit::TestCase.instance_methods
- methods.should.include "assert_sms_messages"
- methods.should.include "assert_no_sms_messages"
- end
-
before do
Mollie::SMS.reset!
@sms = Mollie::SMS.new("+31612345678", "Future is coming.")

0 comments on commit e2dba58

Please sign in to comment.