minitest_rails_tools 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/application_integration.rb +12 -0
- data/lib/helper_extension.rb +0 -3
- data/lib/minitest_rails_tools.rb +1 -0
- metadata +2 -1
@@ -0,0 +1,12 @@
|
|
1
|
+
class MiniTest::Spec
|
2
|
+
|
3
|
+
require 'rails/test_help'
|
4
|
+
|
5
|
+
alias :method_name :__name__ if defined? :__name__
|
6
|
+
|
7
|
+
include Rails.application.routes.url_helpers
|
8
|
+
include ActiveSupport::Testing::SetupAndTeardown
|
9
|
+
include ActiveSupport::Testing::Assertions
|
10
|
+
include ActionController::TestCase::Behavior
|
11
|
+
|
12
|
+
end
|
data/lib/helper_extension.rb
CHANGED
data/lib/minitest_rails_tools.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest_rails_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -21,6 +21,7 @@ files:
|
|
21
21
|
- LICENSE
|
22
22
|
- README.md
|
23
23
|
- lib/minitest_rails_tools.rb
|
24
|
+
- lib/application_integration.rb
|
24
25
|
- lib/helper_extension.rb
|
25
26
|
- lib/association_matchers.rb
|
26
27
|
- lib/validation_matchers.rb
|