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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTRiYTRjOTQ0NDlhYjA2MzVkYmRkOWYxYjYxYWFmNzBjZmI5Yzk5Ng==
4
+ ZjkyYTcwYjYyMmQ2M2M1Y2M2Y2I5NGZjZWYxYzQ0NTVhN2ZlZGNlMg==
5
5
  data.tar.gz: !binary |-
6
- NmQ3YjdhNjkwMmYxMDQ5MjQxODU2YjljNzhjZTcyMGZiM2Y5MjMwMQ==
6
+ NDhhNDEwOTk4YWM3YmIyYWFjMjVjNjQxZDE4NTAxODA5NzUyNmVjNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzA0MDI3MmNiYWU1YzU4YjZlODk4OTRjNGMxZTgzNmJkZTMxZjIxNjBhNDc0
10
- MDg2YzI1ZDdkMGJiOWVkOWJiM2VlZjAwZjAxODFlMGQ2NmE1OTY5ODUwYzhm
11
- ZWRlMmUxZWYzN2E5YzVkMDZiOTM4ODZmYTcxMjM0MzAyZGM3OWE=
9
+ ZjNiZTJiNmNjYTIzMTMxNTY1NjgyMjA5YjdiNmM0NDBhZTJiNWExYmU0YTMw
10
+ YTIxZmE0YjM0NzIzMGNjZTNhMmFhYjRlYmIwZDNhMGJlZDg0OTRiNDM1ZmZl
11
+ MGE0YjZkNDQyMTc5OWE5ZmM2Y2I3MjY2NWI0NmUzYTU3MDRjZDQ=
12
12
  data.tar.gz: !binary |-
13
- MmIyMjZlMzcwNGE5NDA2Yjk3YWQ4YTQ2MDhlNWUzMzBlYzk4ZmNmMGUwMzYw
14
- ODMyYWVkZWFkMjQzODRiYjY3M2ZkNDdmMTRmMzIxNmEzNmY0Y2U3Y2VlMTA3
15
- YWI4ODBlMTFhMzgzNWY0MGE5NzBmOWQ1Yzg3MGJiYmNiYzA4NWU=
13
+ ZWRiYWQ0NTRlNDA2YWI3ZGQ1ZTY3NTA0YTcwODhiY2NlZGRmOGQ2MzUyNzhk
14
+ NDA5ZWExMzYxMjBhYjM0OTlmNjZjNDk5MjM1MmQ4YTVhOGYwYWY0YTBlNmRj
15
+ ZWMzODkyMDJiMTEyZGIwZGE4Njk3NTY3YjM3NjNlNjI0MGQ2ZTE=
data/CHANGES CHANGED
@@ -163,4 +163,8 @@
163
163
 
164
164
  == Version 1.7.4
165
165
 
166
- * Bug fixes
166
+ * Bug fixes
167
+
168
+ == Version 1.7.5
169
+
170
+ * Bug fix
@@ -16,6 +16,8 @@ class GherkinExt
16
16
 
17
17
  def scan(source)
18
18
  old_scan self.class.modify_source(source)
19
+ rescue
20
+ pust "Error in #{source} file."
19
21
  end
20
22
 
21
23
  private
@@ -1,3 +1,3 @@
1
1
  class AcceptanceTest
2
- VERSION = "1.7.4"
2
+ VERSION = "1.7.5"
3
3
  end
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acceptance_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.4
4
+ version: 1.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets