acceptance_test 1.7.3 → 1.7.4

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
- ZDgwYTc1YmQxNjhlMmRlOGRlOTk4OWVjYjMxNWU3YmM3ZDJiYWFkNg==
4
+ ZTRiYTRjOTQ0NDlhYjA2MzVkYmRkOWYxYjYxYWFmNzBjZmI5Yzk5Ng==
5
5
  data.tar.gz: !binary |-
6
- ZTg0MWFkODU2MThlZGM5ZGI5ZTY1NmZjOTQyYzA2ZGRmZDYzZjUyYw==
6
+ NmQ3YjdhNjkwMmYxMDQ5MjQxODU2YjljNzhjZTcyMGZiM2Y5MjMwMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MDljZjg0YmFlZmViMzA2MDlmNmUwNTFiZDM5NGM4NWZhMDkzNjdiNjk5ZjRl
10
- ZDIzZGZhMzA3MDUxMThlOTdmZmM5MTFmZWNhMGY5MWMzMDY0YjY4MjE0M2Ux
11
- YTA4N2MxZDYxYTUyYmJjYzkyMjUyYzdmOWRkNzUyZjE5YWU4ZDA=
9
+ YzA0MDI3MmNiYWU1YzU4YjZlODk4OTRjNGMxZTgzNmJkZTMxZjIxNjBhNDc0
10
+ MDg2YzI1ZDdkMGJiOWVkOWJiM2VlZjAwZjAxODFlMGQ2NmE1OTY5ODUwYzhm
11
+ ZWRlMmUxZWYzN2E5YzVkMDZiOTM4ODZmYTcxMjM0MzAyZGM3OWE=
12
12
  data.tar.gz: !binary |-
13
- NGJiOTAxYWVkOTkxYWYyNzk3YzJkZWNlZmIzYzAyOWQwNDk5NmUxODFiYmRm
14
- NzJhYWUyMzEyZjdlZWZmNWY0YjUzM2MzNDlhY2Y2MmM5ZGU0YTQyMmUzNTRj
15
- NWQxNTQ5ZDMyZGQ0ZDU2NjcwNmY0OTNmNjViYjhlN2FlODQ1MDM=
13
+ MmIyMjZlMzcwNGE5NDA2Yjk3YWQ4YTQ2MDhlNWUzMzBlYzk4ZmNmMGUwMzYw
14
+ ODMyYWVkZWFkMjQzODRiYjY3M2ZkNDdmMTRmMzIxNmEzNmY0Y2U3Y2VlMTA3
15
+ YWI4ODBlMTFhMzgzNWY0MGE5NzBmOWQ1Yzg3MGJiYmNiYzA4NWU=
data/CHANGES CHANGED
@@ -159,4 +159,8 @@
159
159
 
160
160
  == Version 1.7.3
161
161
 
162
- * Extending syntax for scenario outline
162
+ * Extending syntax for scenario outline
163
+
164
+ == Version 1.7.4
165
+
166
+ * Bug fixes
@@ -90,22 +90,24 @@ class AcceptanceTest
90
90
  end
91
91
 
92
92
  def configure_turnip report_name
93
- require 'turnip/rspec'
94
- require 'turnip/capybara'
95
-
96
93
  configure_turnip_formatter report_name
97
94
 
98
- extend_turnip
95
+ configure_gnawrnip
99
96
  end
100
97
 
101
98
  def configure_turnip_formatter report_name
102
99
  require 'turnip_formatter'
103
- require 'gnawrnip'
104
100
 
105
101
  RSpec.configure do |config|
106
102
  config.add_formatter RSpecTurnipFormatter, report_name
107
103
  end
108
104
 
105
+ TurnipFormatter.configure do |config|
106
+ config.title = 'Acceptance'
107
+ end
108
+ end
109
+
110
+ def configure_gnawrnip
109
111
  Gnawrnip.configure do |c|
110
112
  c.make_animation = true
111
113
  c.max_frame_size = 1024 # pixel
@@ -17,7 +17,7 @@ class ScreenshotMaker
17
17
  filename = File.basename(options[:file_path])
18
18
  line_number = options[:line_number]
19
19
 
20
- name = "screenshot-#{filename}"
20
+ name = filename
21
21
  name += "-#{line_number}" if line_number
22
22
 
23
23
  "#{name}.png"
@@ -1,3 +1,3 @@
1
1
  class AcceptanceTest
2
- VERSION = "1.7.3"
2
+ VERSION = "1.7.4"
3
3
  end
@@ -6,6 +6,9 @@ require 'test_helper'
6
6
 
7
7
  require 'acceptance_test'
8
8
 
9
+ require 'turnip/capybara'
10
+ require 'gnawrnip'
11
+
9
12
  config_name = File.expand_path("spec/acceptance_config.yml")
10
13
  config = config_name ? HashWithIndifferentAccess.new(YAML.load_file(config_name)) : {}
11
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acceptance_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-21 00:00:00.000000000 Z
11
+ date: 2014-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gemspec_deps_gen