capybara-ui 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capybara/ui/checkpoint.rb +0 -5
- data/lib/capybara/ui/matchers.rb +8 -0
- data/lib/capybara/ui/rspec.rb +3 -0
- data/lib/capybara/ui/version.rb +1 -1
- data/lib/capybara/ui/widgets/list.rb +3 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b1f43bb680838ae7f41cf171cde54c345f05a48
|
4
|
+
data.tar.gz: 98ad288f4091a38ead145285f369c2793f05900c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7addeef03efa8fc90c0e2b046f86783d8d67630b706fb8bf7652be572c36b65501ba76780b8be477fd8a1bb6638e026e9f708fce0d9ce08ff6197352cabcde0
|
7
|
+
data.tar.gz: 21416d4ace5350776837cb947fa6aeda888cdc338cdb83c97ad0a09e9ebdf7b0761ece62c436e55fda75568f225fa23aab4a5208db4352082b92f6f075d60c73
|
@@ -14,11 +14,6 @@ module Capybara
|
|
14
14
|
|
15
15
|
self.rescuable_errors = [StandardError]
|
16
16
|
|
17
|
-
if defined?(RSpec)
|
18
|
-
require 'rspec/expectations'
|
19
|
-
self.rescuable_errors << RSpec::Expectations::ExpectationNotMetError
|
20
|
-
end
|
21
|
-
|
22
17
|
class Timer
|
23
18
|
class Frozen < StandardError; end
|
24
19
|
|
data/lib/capybara/ui/matchers.rb
CHANGED
@@ -25,6 +25,10 @@ begin
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
failure_message do
|
29
|
+
"Could not find widget(#{widget_name}, args.join(', ')) on page."
|
30
|
+
end
|
31
|
+
|
28
32
|
match_when_negated do |role|
|
29
33
|
begin
|
30
34
|
eventually { !role.see?(widget_name, *args) }
|
@@ -32,6 +36,10 @@ begin
|
|
32
36
|
false
|
33
37
|
end
|
34
38
|
end
|
39
|
+
|
40
|
+
failure_message_when_negated do
|
41
|
+
"Unexpectedly found widget(#{widget_name}, args.join(', ')) on page."
|
42
|
+
end
|
35
43
|
end
|
36
44
|
|
37
45
|
rescue LoadError
|
data/lib/capybara/ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Leal
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chronic
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 1.
|
76
|
+
version: 1.17.0
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 1.
|
83
|
+
version: 1.17.0
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: cucumber
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,14 +143,14 @@ dependencies:
|
|
143
143
|
requirements:
|
144
144
|
- - "~>"
|
145
145
|
- !ruby/object:Gem::Version
|
146
|
-
version: 4.
|
146
|
+
version: 4.2.9
|
147
147
|
type: :development
|
148
148
|
prerelease: false
|
149
149
|
version_requirements: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
151
|
- - "~>"
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version: 4.
|
153
|
+
version: 4.2.9
|
154
154
|
- !ruby/object:Gem::Dependency
|
155
155
|
name: codeclimate-test-reporter
|
156
156
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,6 +190,7 @@ files:
|
|
190
190
|
- lib/capybara/ui/rails.rb
|
191
191
|
- lib/capybara/ui/rails/role.rb
|
192
192
|
- lib/capybara/ui/role.rb
|
193
|
+
- lib/capybara/ui/rspec.rb
|
193
194
|
- lib/capybara/ui/text_table.rb
|
194
195
|
- lib/capybara/ui/text_table/cell_text.rb
|
195
196
|
- lib/capybara/ui/text_table/mapping.rb
|
@@ -237,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
237
238
|
version: '0'
|
238
239
|
requirements: []
|
239
240
|
rubyforge_project: "[none]"
|
240
|
-
rubygems_version: 2.
|
241
|
+
rubygems_version: 2.6.13
|
241
242
|
signing_key:
|
242
243
|
specification_version: 4
|
243
244
|
summary: A set of helpers to ease integration testing
|