capybara-angular 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capybara/angular/version.rb +1 -1
- data/lib/capybara/angular/waiter.rb +3 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc5163484b2fb235380f17e2212c65d4c2712eab
|
4
|
+
data.tar.gz: 66e006bcf4a55aa1a7eebf2e7e0d65c82ce59a89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd74d7bd3463c6788ef04d129e48cfea3185799896339c15f772a3665f18739635f60bf71d84eee9a0712af0c9bef3169b8a5ea2e6c35daecf0d3ac3aec14050
|
7
|
+
data.tar.gz: da36d777b618cd679d95c416406aa746a9c50c3bbee91e0bebc43da56bb1dc0524d245e40eff42fde375b4094dbcc809cbd9d585b55b4504bfe6b7521a1a3c6c
|
@@ -51,14 +51,12 @@ module Capybara
|
|
51
51
|
angular.element(document).ready(function() {
|
52
52
|
var app = angular.element(document.querySelector('[ng-app], [data-ng-app]'));
|
53
53
|
var injector = app.injector();
|
54
|
-
injector.invoke(function($browser) {
|
55
|
-
|
56
|
-
window.angularReady = false;
|
57
|
-
}
|
54
|
+
injector.invoke(['$browser', function($browser) {
|
55
|
+
window.angularReady = false;
|
58
56
|
$browser.notifyWhenNoOutstandingRequests(function() {
|
59
57
|
window.angularReady = true;
|
60
58
|
});
|
61
|
-
});
|
59
|
+
}]);
|
62
60
|
});
|
63
61
|
JS
|
64
62
|
end
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pawel Pierzchala
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.2.2
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Stable Capybara API for AngularJS applications
|