watir_framework 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generators/new_project/templates/lib/models/search.rb.erb +1 -1
- data/generators/new_project/templates/lib/name.rb.erb +1 -1
- data/generators/new_project/templates/lib/pages/home.rb.erb +1 -1
- data/generators/new_project/templates/lib/pages/results.rb.erb +1 -1
- data/generators/new_project/templates/spec/name_spec.rb.erb +4 -4
- data/generators/new_project/templates/spec/spec_helper.rb.erb +1 -1
- data/watir_framework.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac9b93c8c6b46aae8ea4288246fd867163ddc38b
|
4
|
+
data.tar.gz: c91baad86ae3a31b2e6f687b4a76a9b2a5e5c73a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee0f905725d458d04816d1c276e65234616432073af71dcba5b5b16d7095da6356d4ed6e368fa08eda042b60fd62595bd834118acf5e9765e38740208e54b82a
|
7
|
+
data.tar.gz: 4b66d377eba036ff0560935fba90791fd7cac8887e45232d40fdbf0971c2dbfc8074caa415161a62f25cc9b88277e03aaef9876bef0cc6d8c76d45464cbd1d25
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
|
-
describe <%= name.capitalize %> do
|
3
|
+
describe <%= name.split('_').map(&:capitalize).join %> do
|
4
4
|
let(:browser) { WatirSession.browser }
|
5
5
|
|
6
6
|
it "starts a driver" do
|
@@ -10,10 +10,10 @@ describe <%= name.capitalize %> do
|
|
10
10
|
it "submits a search" do
|
11
11
|
WatirDrops::PageObject.browser = Watir::Browser.new
|
12
12
|
|
13
|
-
search_data = <%= name.capitalize %>::Model::Search.new
|
14
|
-
search_page = <%= name.capitalize %>::Home.visit
|
13
|
+
search_data = <%= name.split('_').map(&:capitalize).join %>::Model::Search.new
|
14
|
+
search_page = <%= name.split('_').map(&:capitalize).join %>::Home.visit
|
15
15
|
search_page.search(search_data)
|
16
16
|
|
17
|
-
expect(<%= name.capitalize %>::Results.new.first_result).to include search_data.first_result
|
17
|
+
expect(<%= name.split('_').map(&:capitalize).join %>::Results.new.first_result).to include search_data.first_result
|
18
18
|
end
|
19
19
|
end
|
data/watir_framework.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watir_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Titus Fortner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|