Skip to content

Commit

Permalink
minitest provides "it" and "describe"
Browse files Browse the repository at this point in the history
Remove rails implementation of describe, alias "test" to "it"
  • Loading branch information
tenderlove committed Jul 8, 2012
1 parent 3270156 commit 22bc12e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 42 deletions.
6 changes: 4 additions & 2 deletions activesupport/lib/active_support/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'active_support/testing/setup_and_teardown'
require 'active_support/testing/assertions'
require 'active_support/testing/deprecation'
require 'active_support/testing/declarative'
require 'active_support/testing/isolation'
require 'active_support/testing/mocha_module'
require 'active_support/core_ext/kernel/reporting'
Expand Down Expand Up @@ -35,7 +34,10 @@ def self.test_order # :nodoc:
include ActiveSupport::Testing::SetupAndTeardown
include ActiveSupport::Testing::Assertions
include ActiveSupport::Testing::Deprecation
extend ActiveSupport::Testing::Declarative

class << self
alias :test :it
end

# test/unit backwards compatibility methods
alias :assert_raise :assert_raises
Expand Down
40 changes: 0 additions & 40 deletions activesupport/lib/active_support/testing/declarative.rb

This file was deleted.

0 comments on commit 22bc12e

Please sign in to comment.