k3_testing 0.0.1 → 0.0.2
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 +4 -4
- data/k3_testing.gemspec +2 -2
- data/lib/k3_testing/capybara/selectors.rb +1 -1
- data/lib/k3_testing/version.rb +3 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f805205d1c4703618a8c41f17ec289ae995c0472
|
|
4
|
+
data.tar.gz: d7e6fb9ed3a24cdc452b336bc43c4e028ecb7768
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d284dc75329d64770117721fab3bbb5441bfb40ada6c5f206c5a86cc3a228e81c864198ecb1ad4190ca9ed6c87e17cdcedff0429ba5de1fc63b8d9f289dd028
|
|
7
|
+
data.tar.gz: 8f19a2d7f662d260ebe7bd27f160124c70771448061a105f1431954e2c445e80f73693bf40a2c1d8dfe832452fcebcd7ecf6b8844b733eb0e80c0b368c2c527f
|
data/k3_testing.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
require File.expand_path('../lib/k3_testing/version', __FILE__)
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |gem|
|
|
5
|
-
gem.authors = ["Tyler Rick"]
|
|
5
|
+
gem.authors = ["John Ash", "Tyler Rick"]
|
|
6
6
|
gem.email = ["tyler@k3integrations.com"]
|
|
7
7
|
gem.description = %q{Capybara selectors for finding the element in your document that represents a specific record, attribute, or role}
|
|
8
8
|
gem.summary = gem.description
|
|
@@ -13,5 +13,5 @@ Gem::Specification.new do |gem|
|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
|
14
14
|
gem.name = "k3_testing"
|
|
15
15
|
gem.require_paths = ["lib"]
|
|
16
|
-
gem.version = K3Testing
|
|
16
|
+
gem.version = K3Testing.version
|
|
17
17
|
end
|
|
@@ -23,5 +23,5 @@ end
|
|
|
23
23
|
# TODO: Use starts-with(string1,string2) XPath selector (apparable not available in xpath gem)
|
|
24
24
|
Capybara.add_selector(:with_role) do
|
|
25
25
|
xpath { |value| XPath.descendant[XPath.attr('data-role').contains value] }
|
|
26
|
-
failure_message { |node, selector| "no element found with role '#{selector.locator}'" }
|
|
26
|
+
#failure_message { |node, selector| "no element found with role '#{selector.locator}'" }
|
|
27
27
|
end
|
data/lib/k3_testing/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: k3_testing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
+
- John Ash
|
|
7
8
|
- Tyler Rick
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
11
|
-
date: 2013-03-
|
|
12
|
+
date: 2013-03-18 00:00:00.000000000 Z
|
|
12
13
|
dependencies: []
|
|
13
14
|
description: Capybara selectors for finding the element in your document that represents
|
|
14
15
|
a specific record, attribute, or role
|