aipim-rails 0.0.15 → 0.0.16

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: 5f2f3a0b21538279581718c392a246f01a2b576d
4
- data.tar.gz: 7e86c4f1c413f40670d7af20db8365ed298b3c01
3
+ metadata.gz: be3045e18565f6bb43e45dcc4d8d5a38f87af6c2
4
+ data.tar.gz: 2155ffde62d799892a45797cb2a0946d43d58d4a
5
5
  SHA512:
6
- metadata.gz: f9b29f1f83ddd006d346052fb6306ab53e4baeb75ec5dcfc1bcc67fa9b8113e9cbf3e8ffe37cf8a6ac247603ed5b042179d1168cd8deec10919e9643c6b260c4
7
- data.tar.gz: 4f7c701570b233394bb08f5ba685c8c050e93ba3d93da9314639892de0aa9de1b4079f2837574088bd3845b3c77f5655fbb2450d1682ab1995c2bf1405b79eb6
6
+ metadata.gz: 6795847e185adb9af236d27648f3773c48474fdb7b5612fa8f4a18e02aaef2b663fa6eb693cc304fda61f027600f00ca4036933d80a2dee24cb4274a11bb2f85
7
+ data.tar.gz: a2a6ed4a3fbfe3c55eae4d0c060c84f2c2a6849543d229ac6e472bc1477fad1a71df63adf60860f5bc5d939d9a4ea45862c22345006b2f17d4c8a1a746f3a564
@@ -31,7 +31,7 @@ module Parser
31
31
 
32
32
  screenshot = false
33
33
  cenario_counter = 1
34
- result = %x[ls screenshots/].split("\n")
34
+ result = %x[ls aipim/screenshots/].split("\n")
35
35
  counter_screenshot = 0
36
36
 
37
37
  line = read_line(file)
@@ -1,13 +1,6 @@
1
1
  require 'selenium-webdriver'
2
2
 
3
- Capybara.register_driver :selenium do |app|
4
- Capybara::Selenium::Driver.new(app, :browser => :firefox)
5
- end
6
-
7
- %x[rm ../aipim/screenshots/*]
8
-
9
- # Other drivers are available as well http://selenium.googlecode.com/svn/trunk/docs/api/rb/Selenium/WebDriver.html#for-class_method
10
- #driver = WebDriver.new()
3
+ %x[rm aipim/screenshots/*]
11
4
 
12
5
  Before('@javascript') do |scenario|
13
6
  page.driver.browser.manage.window.maximize
@@ -16,5 +9,6 @@ end
16
9
  After('@screenshot') do
17
10
  return unless page.driver.browser
18
11
  sleep(1.0)
19
- page.driver.save_screenshot("../aipim/screenshots/#{Time.now.to_i}.png")
12
+ page.driver.save_screenshot("aipim/screenshots/#{Time.now.to_i}.png")
20
13
  end
14
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aipim-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Facta TI