capybara-angular 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: 5e4b8a603ba2fd8cca28a6abbd0b2bb1da88f66e
4
- data.tar.gz: 77fddbbb5400d186289f745c90bb691e76ce9c64
3
+ metadata.gz: 1defa29c2700190e49055e8da7cb7d76a066af27
4
+ data.tar.gz: 9a74003e0d1bd3f0875e829968a3e1321c2e4aea
5
5
  SHA512:
6
- metadata.gz: 2e6c2b3c45b2548972add9d47cb2c95004c7dd302c31f460c41f64e0ca23e350ed99ba782ce74ad76a684e888890e4fd1668fd405547941fcd8e5671649d0015
7
- data.tar.gz: adbe8229f02f66a65d0cf0c789ae3417e01e63942b48b68c18f87b278a7f8581ffc1a14b1853406290c20614d162f6d7e13a61a389bb8e6db5250e25531f8f91
6
+ metadata.gz: 49f278fe1c913edbd795e3890d5f7d926c7255d4e9951fca7f9506a3ddf50ca1638cd658ced71f24b47c635238ec52953e66fd6873f584bfcf75e2356757ac44
7
+ data.tar.gz: d3b1ad70504568a1fc1ecb32b0f820137e5dd065280f9b7f0c0c533b64d425f8a995658a9d13ee90047c68ad01a836671eba317e6cf49b6928937b0e0bb908bb
@@ -1,5 +1,5 @@
1
1
  module Capybara
2
2
  module Angular
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
@@ -48,7 +48,7 @@ module Capybara
48
48
 
49
49
  def setup_ready
50
50
  page.execute_script <<-JS
51
- var el = document.querySelector('body')
51
+ var el = document.querySelector('[ng-app], [data-ng-app]');
52
52
  window.angularReady = false;
53
53
 
54
54
  if (angular.getTestability) {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-angular
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
  - Pawel Pierzchala
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-05 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara