wist 0.2.2 → 0.2.3

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: 8d195a4bc3c7ceee9e2b0b0d91dc8fe3642c9c7e
4
- data.tar.gz: 5af4f9f8dbfc22155e2454e39c5fb95b95b6f666
3
+ metadata.gz: c4bf236ea011dd9f5516b6c63199ca7ef297408c
4
+ data.tar.gz: 8d9410908f0b97f4a977be403059529a686a8616
5
5
  SHA512:
6
- metadata.gz: 241d428a2a7c00b862aa43e75fc25f88d41c3f47a38a76ee480fb03aaca1d50035414c47d2004356888d7242f133f741b5a3b416d1ad50adbabfeb514f6ea924
7
- data.tar.gz: 17c9b4dfde7c3c26e6fc9df2ad4fc304d88dbfd310719bc8b661495d195d07eadf819bbc00160f872a0a6b1119bc050410c75616561965763450ffbf99ee1dde
6
+ metadata.gz: 0343ebdfc764ebc62de5cf1aacecefdf839c8ae39f2a4437358d164ca193e6bdccded05c26bafc4f8412b7798772ce5058f87eff188a90454f69f6264496108c
7
+ data.tar.gz: 4ab8dfaa022e7f5803151a064d66b915aac1cbb2d328fe45f4ade721c3753a3812cbb31ae196d2f16f9ebec43f7d00b726ffa0ac143c3a61fa07be2a30bb1ff3
data/Gemfile.lock CHANGED
@@ -9,7 +9,7 @@ GIT
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- wist (0.2.2)
12
+ wist (0.2.3)
13
13
  capybara
14
14
  selenium-webdriver
15
15
 
@@ -24,7 +24,7 @@ GEM
24
24
  rack-test (>= 0.5.4)
25
25
  xpath (~> 2.0)
26
26
  chattyproc (1.0.0)
27
- childprocess (0.5.2)
27
+ childprocess (0.5.3)
28
28
  ffi (~> 1.0, >= 1.0.11)
29
29
  cliver (0.3.2)
30
30
  coderay (1.0.9)
@@ -48,8 +48,8 @@ GEM
48
48
  rack-test (0.6.2)
49
49
  rack (>= 1.0)
50
50
  rake (10.1.0)
51
- rubyzip (1.1.3)
52
- selenium-webdriver (2.41.0)
51
+ rubyzip (1.1.4)
52
+ selenium-webdriver (2.42.0)
53
53
  childprocess (>= 0.5.0)
54
54
  multi_json (~> 1.0)
55
55
  rubyzip (~> 1.0)
data/lib/wist.rb CHANGED
@@ -167,8 +167,8 @@ module Wist
167
167
  end
168
168
  end
169
169
 
170
- def has_css_instant?(selector)
171
- do_instantly { has_css?(selector) }
170
+ def has_css_instant?(*args)
171
+ do_instantly { has_css?(*args) }
172
172
  end
173
173
 
174
174
  def do_instantly
@@ -179,7 +179,7 @@ class WistTest < CapybaraTestCase
179
179
  end
180
180
 
181
181
  def test_has_css_instant?
182
- assert_equal(true, has_css_instant?('body'))
182
+ assert_equal(true, has_css_instant?('body', visible: true))
183
183
  assert_equal(false, has_css_instant?('#sdklfjk'))
184
184
  end
185
185
 
data/wist.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'wist'
3
- gem.version = '0.2.2'
3
+ gem.version = '0.2.3'
4
4
  gem.summary = 'capybara helpers'
5
5
  gem.author = 'Lihan Li'
6
6
  gem.email = 'frankieteardrop@gmail.com'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lihan Li
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-23 00:00:00.000000000 Z
11
+ date: 2014-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -93,3 +93,4 @@ test_files:
93
93
  - test/test1.html
94
94
  - test/test_helper.rb
95
95
  - test/tests/wist_test.rb
96
+ has_rdoc: