lib/minitest-spec-rails.rb in minitest-spec-rails-3.0.7 vs lib/minitest-spec-rails.rb in minitest-spec-rails-3.1.0
- old
+ new
@@ -1,4 +1,10 @@
+module MiniTestSpecRails
+end
+
+require 'rubygems'
+require 'active_support/all'
+require 'active_support/test_case'
require 'minitest/spec'
-require 'test/unit/testcase'
require 'minitest-spec-rails/version'
-require 'minitest-spec-rails/test_case'
+require 'minitest-spec-rails/dsl'
+require 'minitest-spec-rails/rails' if Rails.env.test?