acceptance_test 1.7.4 → 1.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/CHANGES +5 -1
- data/lib/acceptance_test/gherkin_ext.rb +2 -0
- data/lib/acceptance_test/version.rb +1 -1
- data/spec/turnip_helper.rb +23 -11
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZjkyYTcwYjYyMmQ2M2M1Y2M2Y2I5NGZjZWYxYzQ0NTVhN2ZlZGNlMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDhhNDEwOTk4YWM3YmIyYWFjMjVjNjQxZDE4NTAxODA5NzUyNmVjNw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZjNiZTJiNmNjYTIzMTMxNTY1NjgyMjA5YjdiNmM0NDBhZTJiNWExYmU0YTMw
|
10
|
+
YTIxZmE0YjM0NzIzMGNjZTNhMmFhYjRlYmIwZDNhMGJlZDg0OTRiNDM1ZmZl
|
11
|
+
MGE0YjZkNDQyMTc5OWE5ZmM2Y2I3MjY2NWI0NmUzYTU3MDRjZDQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWRiYWQ0NTRlNDA2YWI3ZGQ1ZTY3NTA0YTcwODhiY2NlZGRmOGQ2MzUyNzhk
|
14
|
+
NDA5ZWExMzYxMjBhYjM0OTlmNjZjNDk5MjM1MmQ4YTVhOGYwYWY0YTBlNmRj
|
15
|
+
ZWMzODkyMDJiMTEyZGIwZGE4Njk3NTY3YjM3NjNlNjI0MGQ2ZTE=
|
data/CHANGES
CHANGED
data/spec/turnip_helper.rb
CHANGED
@@ -9,22 +9,34 @@ require 'acceptance_test'
|
|
9
9
|
require 'turnip/capybara'
|
10
10
|
require 'gnawrnip'
|
11
11
|
|
12
|
-
config_name = File.expand_path("spec/acceptance_config.yml")
|
13
|
-
config = config_name ? HashWithIndifferentAccess.new(YAML.load_file(config_name)) : {}
|
14
|
-
|
15
|
-
AcceptanceTest.instance.configure(config)
|
16
|
-
|
17
|
-
# AcceptanceTest.instance.configure(webapp_url: 'http://www.wikipedia.org')
|
18
|
-
# AcceptanceTest.instance.register_driver(:webkit)
|
19
|
-
# AcceptanceTest.instance.register_driver(:poltergeist)
|
20
|
-
|
21
|
-
AcceptanceTest.instance.configure_turnip 'tmp/report.html'
|
22
|
-
|
23
12
|
require 'steps/search_with_drivers_steps'
|
24
13
|
require 'steps/search_with_pages_steps'
|
25
14
|
require 'steps/search_with_scenario_outline_steps'
|
26
15
|
require 'steps/search_with_table_steps'
|
27
16
|
|
17
|
+
acceptance_test = AcceptanceTest.instance
|
18
|
+
|
19
|
+
RSpec.configure do |conf|
|
20
|
+
conf.before(:type => :feature) do
|
21
|
+
config_name = File.expand_path("spec/acceptance_config.yml")
|
22
|
+
config = config_name ? HashWithIndifferentAccess.new(YAML.load_file(config_name)) : {}
|
23
|
+
|
24
|
+
acceptance_test.configure(config)
|
25
|
+
|
26
|
+
# acceptance_test.configure(webapp_url: 'http://www.wikipedia.org')
|
27
|
+
# acceptance_test.register_driver(:webkit)
|
28
|
+
# acceptance_test.register_driver(:poltergeist)
|
29
|
+
|
30
|
+
acceptance_test.configure_turnip 'tmp/report.html'
|
31
|
+
|
32
|
+
acceptance_test.setup
|
33
|
+
end
|
34
|
+
|
35
|
+
conf.after(:type => :feature) do
|
36
|
+
acceptance_test.teardown
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
28
40
|
|
29
41
|
|
30
42
|
|