diff options
author | Carl Lerche <carllerche@mac.com> | 2009-06-30 08:41:17 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-06-30 08:41:17 -0700 |
commit | 4954379283099231965fbc3fe00c39e0ef91c4b0 (patch) | |
tree | 0282370b748b4fb65cf712c30cdcdc58591c1def /activesupport/lib | |
parent | 7d548f795d226f57278f8bdd36298c9552421053 (diff) | |
download | rails-4954379283099231965fbc3fe00c39e0ef91c4b0.tar.gz rails-4954379283099231965fbc3fe00c39e0ef91c4b0.tar.bz2 rails-4954379283099231965fbc3fe00c39e0ef91c4b0.zip |
Remove stray checks for Rspec in the testing setup.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/testing/declarative.rb | 6 | ||||
-rw-r--r-- | activesupport/lib/active_support/testing/setup_and_teardown.rb | 2 |
2 files changed, 0 insertions, 8 deletions
diff --git a/activesupport/lib/active_support/testing/declarative.rb b/activesupport/lib/active_support/testing/declarative.rb index a7af7f4224..a7df473644 100644 --- a/activesupport/lib/active_support/testing/declarative.rb +++ b/activesupport/lib/active_support/testing/declarative.rb @@ -15,12 +15,6 @@ module ActiveSupport end end - if defined?(Spec) - class << self - alias_method :test, :it - end - end - end end diff --git a/activesupport/lib/active_support/testing/setup_and_teardown.rb b/activesupport/lib/active_support/testing/setup_and_teardown.rb index 4537c30e9c..b59ac79e7b 100644 --- a/activesupport/lib/active_support/testing/setup_and_teardown.rb +++ b/activesupport/lib/active_support/testing/setup_and_teardown.rb @@ -10,8 +10,6 @@ module ActiveSupport if defined?(MiniTest::Assertions) && TestCase < MiniTest::Assertions include ForMiniTest - elsif defined? Spec - include ForRspec else include ForClassicTestUnit end |