minitest-capybara 0.6.0.rc1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf433ae4ea66fa3f91baa744a5520f6baf2e6300
4
- data.tar.gz: a182ecdd28fd191520bb70d9216efc80ee6c0e01
3
+ metadata.gz: d90902280c08889590f5bc26ce3eff2f9a2ad0ac
4
+ data.tar.gz: 9b084a9ee70642816d98368598ce796b22580dc6
5
5
  SHA512:
6
- metadata.gz: b046932cf800e23075e32736a8646d8e5e24dcb662fce30a837c39d5c1a9d0721c893711dd2b1a1a4e761d49d8e48019c85383f91dadb391151f204a58c5c542
7
- data.tar.gz: 5a087f2d30cf3ce9815242b22349ad04a887b7b2083c699fba9b9bf6b2237009e680d4ce961344d320bfa0e9ae2dc2e93ac506fb3f0d3e25eeeb3d96717c7c52
6
+ metadata.gz: aa7385b82b0a0e2d2e118adf91b9228713c71a67d45010c434d4dbe2fb6903df15fb8289a953f5f598f369af80574e88ed9b9a5efc2deb187a758cbbba58c255
7
+ data.tar.gz: 34c5cfab326564e2bc5a83abe4c0f2df85c59ab21613b847ac127daca6b4eb3bc34486dc8aa313cf6e056bab3b824535389886b6071d357d2cdee5e9b2d75d08
data/.travis.yml CHANGED
@@ -1,5 +1,7 @@
1
1
  rvm:
2
2
  - 1.9.3
3
3
  - 2.0.0
4
- - jruby-19mode
5
- - rbx-19mode
4
+ - 2.1.0
5
+ - 2.1.1
6
+ - jruby
7
+ - rbx
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- minitest-capybara (0.6.0.rc1)
4
+ minitest-capybara (0.6.0)
5
5
  capybara (~> 2.1.0)
6
6
  minitest (~> 5.0)
7
7
  rake
data/README.md CHANGED
@@ -21,6 +21,10 @@ but:
21
21
 
22
22
  With this project minitest gets all the good stuff.
23
23
 
24
+ ## Rails integration
25
+
26
+ Check out [minitest-rails-capybara](https://github.com/blowmage/minitest-rails-capybara)
27
+
24
28
  ## Usage
25
29
 
26
30
  See example app: https://github.com/wojtekmach/minitest-capybara-example
@@ -58,7 +62,7 @@ Or if you prefer to create seperate test class for acceptance tests.
58
62
  require "capybara/rails"
59
63
 
60
64
  # for just minitest/unit
61
- class AcceptanceTest < Minitest::Unit::TestCase
65
+ class AcceptanceTest < Minitest::Test
62
66
  include Capybara::DSL
63
67
  include Capybara::Assertions
64
68
 
@@ -69,8 +73,14 @@ class AcceptanceTest < Minitest::Unit::TestCase
69
73
  end
70
74
 
71
75
  # for minitest/spec
72
- class AcceptanceSpec < AcceptanceTest
73
- extend Minitest::Spec::DSL
76
+ class AcceptanceSpec < Minitest::Spec
77
+ include Capybara::DSL
78
+ include Capybara::Assertions
79
+
80
+ def teardown
81
+ Capybara.reset_session!
82
+ Capybara.use_default_driver
83
+ end
74
84
  end
75
85
  ```
76
86
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0.rc1
1
+ 0.6.0
@@ -1,3 +1,2 @@
1
1
  require 'minitest/test'
2
2
  require 'minitest/capybara'
3
- require 'minitest/features'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.rc1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wojciech Mach
@@ -99,9 +99,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  version: '0'
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ">"
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: 1.3.1
104
+ version: '0'
105
105
  requirements: []
106
106
  rubyforge_project: minitest-capybara
107
107
  rubygems_version: 2.2.2