acceptance_test 1.8.7 → 1.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00008869bbc96270c2f361fd8d27cc58a3a6bda7
4
- data.tar.gz: 3a57640d4463c196bb81f62914d5f2b80a539008
3
+ metadata.gz: 1ad02ae358ea7e28426e53c2fe56d0733f8cf106
4
+ data.tar.gz: f13c8b34027c45edf956b14fc02cc479c0c6f027
5
5
  SHA512:
6
- metadata.gz: 985525d9a1a10218dc1b7a951745239cd3fff3bef44e8c5d0138e19355c663064596241e2a628708d67ac8e85c35791c2a8805805da36b8e0d5f38dd65438c3d
7
- data.tar.gz: 0b1fa7e73d167c1dfba8081c0558931674b688ab1b3bced5a592a37920eb1d72fd80de6edbdc764f6b024772f80fcd020a3412acf514a1dc59e4a9b56def8800
6
+ metadata.gz: 85eb6a6df089965f898753b79c1f05b8a7d333a2f145e15f3f2f9e6fe58b4639d2c52bc0af2913a13573b859d0014059f0a840aabf45311d49a5d8bc7efa149b
7
+ data.tar.gz: 0699838e92a432043767a25b2c4408bc178d2a6ebac2f37901761d2fde644e58511b38e8cc28eea9d7b9df2022487e2d56363cbd7f60851e36a369f4a3fe3ab4
data/CHANGES CHANGED
@@ -235,4 +235,8 @@
235
235
 
236
236
  == Version 1.9.0
237
237
 
238
- * Rename screenshot_dir to screenshots_dir
238
+ * Rename screenshot_dir to screenshots_dir
239
+
240
+ == Version 1.9.1
241
+
242
+ * Correct report name
@@ -87,21 +87,21 @@ class AcceptanceTest
87
87
  GherkinExt.enable_external_source data_reader
88
88
  end
89
89
 
90
- def configure_turnip report_name
91
- configure_turnip_formatter report_name
90
+ def configure_turnip report_file, report_name
91
+ configure_turnip_formatter report_file, report_name
92
92
 
93
93
  configure_gnawrnip
94
94
  end
95
95
 
96
- def configure_turnip_formatter report_name
96
+ def configure_turnip_formatter report_file, report_name
97
97
  require 'turnip_formatter'
98
98
 
99
99
  RSpec.configure do |config|
100
- config.add_formatter RSpecTurnipFormatter, report_name
100
+ config.add_formatter RSpecTurnipFormatter, report_file
101
101
  end
102
102
 
103
103
  TurnipFormatter.configure do |config|
104
- config.title = 'Acceptance'
104
+ config.title = "#{report_name[0].upcase+report_name[1..-1]} Acceptance"
105
105
  end
106
106
  end
107
107
 
@@ -1,3 +1,3 @@
1
1
  class AcceptanceTest
2
- VERSION = "1.8.7"
2
+ VERSION = "1.9.1"
3
3
  end
@@ -27,7 +27,7 @@ RSpec.configure do |conf|
27
27
  # acceptance_test.register_driver(:webkit)
28
28
  # acceptance_test.register_driver(:poltergeist)
29
29
 
30
- acceptance_test.configure_turnip 'tmp/report.html'
30
+ acceptance_test.configure_turnip 'tmp/report.html', "test"
31
31
 
32
32
  acceptance_test.setup
33
33
  end
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.8.7
4
+ version: 1.9.1
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-11-20 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gemspec_deps_gen