minitest-capybara 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f3cad186559582c6b6c245b54214ee2bce8fe6be
4
- data.tar.gz: 02bb027bc471f6c83f730f8f7211715788068081
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YjU4ZjVlZDU2NjAzZGVhYmZhNDgxZjYwMjQzZWFhYjlmYTU3OWE0ZQ==
5
+ data.tar.gz: !binary |-
6
+ ZTNhNTUzMmMwNGZkYjhjZWJkMGQyNGIwMzU1MzMwNmJmMDBhZTBlYg==
5
7
  SHA512:
6
- metadata.gz: e41c570259fe17200c68cd51fa2823d6f73699d98a5e9a45380338c3c1498fbf7b74fc07c5ddd52ed49123cc0457468182742b5d30481fc05733fd644f3a3508
7
- data.tar.gz: 221eb2b615a90567e5ce4080daeaea6d393edc7a4f7a048589ace9aa1523fb1c0ab695fa3054dd17ad8577d1e29a2d2eb9f8661c0418d9b22b6fc1b243c4c819
8
+ metadata.gz: !binary |-
9
+ YmYwZGU5MzZjNDRkYTMxOGRiMDRkYzBjODlkMDQwZmY4MjFjY2Q5OTcwZWQ2
10
+ ZGIzOGNkYWRlOTY2NjgwYzg5OWI3NTQ2NzIxYzc5Zjc0ZmQ2ZWVlMmYyNmQ1
11
+ OTEzMjMxYTYzNzA5YzYxNjJjZWMyZWJjNTQyNGEwOGM2NzUyNjU=
12
+ data.tar.gz: !binary |-
13
+ NWYzOWEzYjc0MjRlNDdlMGU4ZjE3YmJjM2IzNGY1MjZlODkzNTk4M2JhNGI2
14
+ NzhkZjRmYjEwZjJhMGFkNzQyZTg1YjBhN2E4Nzg1YWNkZWI3NDVkYjk4NmEz
15
+ YzNkNjBkOGZkYzJjOTYwY2RjNTU3ZmVlOWQwY2YxMTBjMDdhZGM=
@@ -1,8 +1,12 @@
1
1
  ## HEAD
2
2
 
3
+ ## v0.8.1
4
+
5
+ * Do an assertion with `assert_selector`/`refute_selector` call - @joseramonc, @wojtekmach
6
+
3
7
  ## v0.8.0
4
8
 
5
- * Remove depracation for Minitest::Capybara::Assertions.
9
+ * Remove deprecation for Minitest::Capybara::Assertions.
6
10
  * Better error messages for `assert_content/refute_content`.
7
11
  * Remove feature DSL.
8
12
  * Add Minitest::Capybara::Test and Minitest::Capybara::Spec classes.
data/README.md CHANGED
@@ -2,13 +2,13 @@
2
2
 
3
3
  [![Build Status](https://secure.travis-ci.org/wojtekmach/minitest-capybara.png?branch=master)](http://travis-ci.org/wojtekmach/minitest-capybara)
4
4
 
5
- Capybara matchers support for minitest unit & spec
5
+ Capybara matchers support for Minitest unit & spec.
6
6
 
7
7
  ## Why?
8
8
 
9
9
  Capybara has good support for RSpec.
10
10
 
11
- If you want to use it with minitest, you can of course write:
11
+ If you want to use it with Minitest, you can of course write:
12
12
 
13
13
  ```ruby
14
14
  assert page.has_content?("Hello")
@@ -19,7 +19,7 @@ but:
19
19
  1. it's kinda ugly
20
20
  2. you don't have meaningfull error messages.
21
21
 
22
- With this project minitest gets all the good stuff.
22
+ With this project Minitest gets all the good stuff.
23
23
 
24
24
  ## Rails integration
25
25
 
@@ -27,7 +27,7 @@ With this project minitest gets all the good stuff.
27
27
 
28
28
  See example Rails app: <https://github.com/wojtekmach/minitest-capybara-example>.
29
29
 
30
- For more features check out: [minitest-rails-capybara](https://github.com/blowmage/minitest-rails-capybara).
30
+ For more features, check out: [minitest-rails-capybara](https://github.com/blowmage/minitest-rails-capybara).
31
31
 
32
32
  ## Usage
33
33
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.8.1
@@ -20,14 +20,14 @@ module Capybara
20
20
 
21
21
  def assert_selector(*args)
22
22
  node, *args = prepare_args(args)
23
- node.assert_selector(*args)
23
+ assert node.assert_selector(*args)
24
24
  rescue Capybara::ExpectationNotMet => e
25
25
  assert false, e.message
26
26
  end
27
27
 
28
28
  def refute_selector(*args)
29
29
  node, *args = prepare_args(args)
30
- node.assert_no_selector(*args)
30
+ assert node.assert_no_selector(*args)
31
31
  rescue Capybara::ExpectationNotMet => e
32
32
  assert false, e.message
33
33
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wojciech Mach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-30 00:00:00.000000000 Z
11
+ date: 2016-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '5.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '5.0'
55
55
  description: Capybara matchers support for minitest unit and spec
@@ -59,8 +59,8 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - ".gitignore"
63
- - ".travis.yml"
62
+ - .gitignore
63
+ - .travis.yml
64
64
  - CHANGELOG.md
65
65
  - Gemfile
66
66
  - LICENSE.txt
@@ -87,23 +87,18 @@ require_paths:
87
87
  - lib
88
88
  required_ruby_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ">="
90
+ - - ! '>='
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ">="
95
+ - - ! '>='
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project: minitest-capybara
100
- rubygems_version: 2.4.7
100
+ rubygems_version: 2.5.1
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Capybara matchers support for minitest unit and spec
104
- test_files:
105
- - test/capybara/assertions_test.rb
106
- - test/capybara/expectations_test.rb
107
- - test/minitest/base_node_test.rb
108
- - test/minitest/capybara_test.rb
109
- - test/test_helper.rb
104
+ test_files: []