capybara-angular 0.1.2 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capybara-angular.gemspec +1 -1
- data/lib/capybara/angular.rb +4 -4
- data/lib/capybara/angular/version.rb +1 -1
- data/lib/capybara/angular/waiter.rb +1 -1
- data/spec/capybara/angular_spec.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e4b8a603ba2fd8cca28a6abbd0b2bb1da88f66e
|
4
|
+
data.tar.gz: 77fddbbb5400d186289f745c90bb691e76ce9c64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e6c2b3c45b2548972add9d47cb2c95004c7dd302c31f460c41f64e0ca23e350ed99ba782ce74ad76a684e888890e4fd1668fd405547941fcd8e5671649d0015
|
7
|
+
data.tar.gz: adbe8229f02f66a65d0cf0c789ae3417e01e63942b48b68c18f87b278a7f8581ffc1a14b1853406290c20614d162f6d7e13a61a389bb8e6db5250e25531f8f91
|
data/capybara-angular.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'capybara'
|
21
|
+
spec.add_dependency 'capybara', '>= 2.5.0'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.3"
|
24
24
|
spec.add_development_dependency "rake"
|
data/lib/capybara/angular.rb
CHANGED
@@ -6,12 +6,12 @@ require_relative "angular/waiter"
|
|
6
6
|
|
7
7
|
module Capybara
|
8
8
|
module Angular
|
9
|
-
def self.
|
10
|
-
@
|
9
|
+
def self.default_max_wait_time
|
10
|
+
@default_max_wait_time || Capybara.default_max_wait_time
|
11
11
|
end
|
12
12
|
|
13
|
-
def self.
|
14
|
-
@
|
13
|
+
def self.default_max_wait_time=(timeout)
|
14
|
+
@default_max_wait_time = timeout
|
15
15
|
end
|
16
16
|
end
|
17
17
|
end
|
@@ -6,8 +6,8 @@ require 'capybara/angular'
|
|
6
6
|
|
7
7
|
Capybara.default_driver = :poltergeist
|
8
8
|
Capybara.app = Rack::Directory.new('spec/public')
|
9
|
-
Capybara.
|
10
|
-
Capybara::Angular.
|
9
|
+
Capybara.default_max_wait_time = 2
|
10
|
+
Capybara::Angular.default_max_wait_time = 10
|
11
11
|
|
12
12
|
feature 'Waiting for angular' do
|
13
13
|
include Capybara::Angular::DSL
|
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.
|
4
|
+
version: 0.2.2
|
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-
|
11
|
+
date: 2015-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capybara
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.5.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.5.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.4.5.1
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Stable Capybara API for AngularJS applications
|