handy_feature_helpers 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a3cbd7ca9ed2c8172f3b38a34e27267890e87b5
|
4
|
+
data.tar.gz: 28ab9ebacdb288231ff882e51a99d51961884d86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b636497fd9fec3d18ac25c372873ddf188e3e40f0b8fd1da8b273d584d1a453cb92d8b0de673db0217850011386c29446be34869e703b1ae2f26fdc9e8d6ec08
|
7
|
+
data.tar.gz: 34a27775eaf803735bea652dc17c6817a3a43a6727c5346327a648951ec352587ee3775c9196b9dd45acabec5c50edfda9b6077c495eb4dea0ef113d2d04c0af
|
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = HandyFeatureHelpers::VERSION
|
9
9
|
spec.authors = ["Vassil Kalkov"]
|
10
10
|
spec.email = ["vassilkalkov@gmail.com"]
|
11
|
-
spec.description = %q{Feature helpers for use with Capybara}
|
11
|
+
spec.description = %q{Feature helpers for use with Capybara and Rspec}
|
12
12
|
spec.summary = %q{Feature spec helpers}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "http://github.com/kalkov/handy_feature_helpers"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'capybara'
|
21
|
+
spec.add_dependency 'capybara', '~> 2.0.0'
|
22
22
|
spec.add_dependency 'rspec'
|
23
23
|
|
24
24
|
spec.add_development_dependency "bundler", "~> 1.3"
|
@@ -101,6 +101,14 @@ module HandyFeatureHelpers
|
|
101
101
|
expect(page).to have_no_content(text)
|
102
102
|
end
|
103
103
|
|
104
|
+
def table_has_content?(text)
|
105
|
+
within(table) { has_content?(text) }
|
106
|
+
end
|
107
|
+
|
108
|
+
def table_has_no_content?(text)
|
109
|
+
within(table) { has_content?(text) }
|
110
|
+
end
|
111
|
+
|
104
112
|
def ensure_delete_is_working
|
105
113
|
tr_count = size_of table_rows
|
106
114
|
within(table) { click delete_link }
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handy_feature_helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vassil Kalkov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-19 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
|
-
version:
|
19
|
+
version: 2.0.0
|
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
|
-
version:
|
26
|
+
version: 2.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +66,7 @@ dependencies:
|
|
66
66
|
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
description: Feature helpers for use with Capybara
|
69
|
+
description: Feature helpers for use with Capybara and Rspec
|
70
70
|
email:
|
71
71
|
- vassilkalkov@gmail.com
|
72
72
|
executables: []
|
@@ -84,7 +84,7 @@ files:
|
|
84
84
|
- lib/handy_feature_helpers/flash_helpers.rb
|
85
85
|
- lib/handy_feature_helpers/main_helpers.rb
|
86
86
|
- lib/handy_feature_helpers/version.rb
|
87
|
-
homepage:
|
87
|
+
homepage: http://github.com/kalkov/handy_feature_helpers
|
88
88
|
licenses:
|
89
89
|
- MIT
|
90
90
|
metadata: {}
|