assert_valid_markup_nu 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/assert_valid_markup_nu.rb +11 -1
  2. metadata +3 -3
@@ -40,4 +40,14 @@ module AssertValidMarkupNu
40
40
  rescue SocketError
41
41
  # No assertion if we can’t connect to the validator.
42
42
  end
43
- end
43
+ end
44
+
45
+ if Rails.env.test?
46
+ class ActionController::TestCase
47
+ include AssertValidMarkupNu
48
+ end
49
+
50
+ class ActionController::IntegrationTest
51
+ include AssertValidMarkupNu
52
+ end
53
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assert_valid_markup_nu
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Craig Davey