acceptance_test 1.0.4 → 1.0.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
- Zjk0NDQzZTg5ZjlkMDBhMzE5N2E0ZjIyZTIzMzkwMGE5YmEzMTM0OQ==
4
+ NDFlNGU1MGZhMjQ5YmVlNzM5NWU1NmUwMDE1YWU1NDdjN2YwZTVlZA==
5
5
  data.tar.gz: !binary |-
6
- YjU0NjJiMTdlZWJiN2I4NzNlYWRkY2NjYjM1NmZjYWRkNTlmZDQyZA==
6
+ Njg5Y2U4YmNhMTYxNGZiYjZhYjk3NDk0YjJhMzUxNjMwMWNkMTlkNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjVlMTQzOGM1YjE4OGIwYjgxNmI5YTg0OTAwOGViZmYxNTMzNGE2YjRmMzNi
10
- ZjEwZDZhNmYwYTAzNzEwMjVhYzAxYWY1YzFhNTBlNjBhMmZjMjQyYTNkZmY4
11
- OGRlOTE5NjIyZWQzMTU3NDI2YTBhOWIzMWJlM2U4YmZhNDQ1NTE=
9
+ YzNmZmY3MzdjMjYyYWRhZDE1ZWIzYTI1NWI4NTRkMmE2ODllMjc4Mzc2ZTNk
10
+ NmU5Yjk4MjcwZjc1OTFlMWNhOGVjNWZjNGQ0ZDIyOTIzMTQzODJmM2U5OGE1
11
+ OTA2Njk3MGYwMDEyMDAxMmU3MWQ4YjhhNDc5NWM5ODcyOWU5YjQ=
12
12
  data.tar.gz: !binary |-
13
- NjlkNzAzNzllODUyMDI5YTliMWNkNjI3NWU2NjllNWZhMDZmYzM5OTc4MzJj
14
- ZmZjNWM2ODhhYjdhZDczMGNkNzI4YTM5M2RlZDQ3NzA1NjFhNGQyOTAwYjNj
15
- NGRjMjg2ZmQ0MDcwN2JjOTAzMDcyMzI1MGNlMWFmZmU1ZGQ1MTE=
13
+ MjIxMjQwNzQ0M2Y4MTgwOWYxN2I0ZmEzYjkxNzhkODNhMDg0ZDFhOGVmYjM2
14
+ ZjUzNGUwNjc1MWNkNzgwYTM3NjE4Y2ZmZjNjZGJlM2I2ZDYyNjE3MGIwOTlh
15
+ NDM0MWFmNmE2MWQxZmQwMWU1ZDA1OWFhM2YzMTBhN2Q4YzdmNzc=
data/CHANGES CHANGED
@@ -18,4 +18,8 @@
18
18
 
19
19
  == Version 1.0.4
20
20
 
21
- * Bug fixes.
21
+ * Bug fixes.
22
+
23
+ == Version 1.0.5
24
+
25
+ * Bug fixes
@@ -75,8 +75,6 @@ class AcceptanceTest
75
75
  require "capybara/rails"
76
76
  end
77
77
 
78
- #require 'rspec/autorun'
79
-
80
78
  require "capybara"
81
79
  require "capybara/dsl"
82
80
  require 'capybara/rspec'
@@ -94,22 +92,7 @@ class AcceptanceTest
94
92
  Capybara.configure do |config|
95
93
  config.default_wait_time = ENV['WAIT_TIME'].to_i
96
94
  config.run_server = run_server
97
-
98
- #config.always_include_port = false
99
- #config.server {|app, port| Capybara.run_default_server(app, port)}
100
- #config.default_selector = :css
101
- #config.ignore_hidden_elements = false
102
- #config.default_host = "http://www.example.com"
103
- #config.automatic_reload = true
104
95
  end
105
-
106
- #Capybara.configure do |config|
107
- # config.match = :one
108
- # config.exact_options = true
109
- # config.ignore_hidden_elements = true
110
- # config.visible_text_only = true
111
- #end
112
- #
113
96
  end
114
97
 
115
98
  def register_driver driver
@@ -224,7 +207,7 @@ class AcceptanceTest
224
207
  filename = File.basename(file_path)
225
208
 
226
209
  screenshot_name = "screenshot-#{filename}-#{line_number}.png"
227
- screenshot_path = "#{@project_root.join("tmp")}/#{screenshot_name}"
210
+ screenshot_path = "#{@project_root}/tmp/#{screenshot_name}"
228
211
 
229
212
  page.save_screenshot(screenshot_path)
230
213
 
@@ -241,7 +224,6 @@ class AcceptanceTest
241
224
 
242
225
  def setup_driver_from_config driver
243
226
  selenium_app_host = app_host_from_url(@selenium_config[:webapp_url])
244
- #setup_app_host selenium_app_host
245
227
  @app_host = selenium_app_host
246
228
 
247
229
  Rails.env = @selenium_config[:env] if defined? Rails.env
@@ -1,3 +1,3 @@
1
1
  class AcceptanceTest
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acceptance_test
3
3
  version: !ruby/object:Gem::Version
4
- version: !binary |-
5
- MS4wLjQ=
4
+ version: 1.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Alexander Shvets
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-11 00:00:00.000000000 Z
11
+ date: 2013-10-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: gemspec_deps_gen