pyrite 0.5.9 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/pyrite/dsl.rb +2 -2
  2. metadata +3 -3
data/lib/pyrite/dsl.rb CHANGED
@@ -61,11 +61,11 @@ module Pyrite
61
61
  def wait_for(element)
62
62
  case element
63
63
  when :page_load
64
- browser.wait_for :wait_for => :page
64
+ browser.wait_for(:wait_for => :page)
65
65
  when :ajax
66
66
  browser.wait_for(:wait_for => :ajax, :javascript_framework => Pyrite.js_framework)
67
67
  else
68
- browser.wait_for :element => "css=#{element}"
68
+ browser.wait_for(:element => "css=#{element}")
69
69
  end
70
70
  end
71
71
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 5
8
- - 9
9
- version: 0.5.9
7
+ - 6
8
+ - 0
9
+ version: 0.6.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Adam Rogers