utensils 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -1
- data/lib/utensils/capybara_javascript.rb +2 -0
- data/lib/utensils/version.rb +1 -1
- metadata +5 -4
data/README.md
CHANGED
@@ -6,7 +6,7 @@ Rspec stuff we use over and over again
|
|
6
6
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
|
-
gem 'utensils'
|
9
|
+
gem 'utensils', :group => :test
|
10
10
|
|
11
11
|
## Usage
|
12
12
|
|
@@ -15,6 +15,7 @@ Add this line to your application's Gemfile:
|
|
15
15
|
|
16
16
|
```ruby
|
17
17
|
require 'utensils/capybara_extensions'
|
18
|
+
require 'utensils/capybara_javascript'
|
18
19
|
require 'utensils/custom_matchers'
|
19
20
|
require 'utensils/database_cleaner'
|
20
21
|
require 'utensils/timecop'
|
@@ -31,6 +32,11 @@ page.within(post) { click_link('Edit') }
|
|
31
32
|
page.find(book_2).drag_to(page.find(book_1))
|
32
33
|
```
|
33
34
|
|
35
|
+
### capybara_javascript
|
36
|
+
|
37
|
+
Switches javascript driver to capybara-webkit and ignores hidden
|
38
|
+
elements.
|
39
|
+
|
34
40
|
### custom_matchers
|
35
41
|
|
36
42
|
A set of convenient matchers for rspec
|
data/lib/utensils/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utensils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-13 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Rspec stuff we use over and over again
|
15
15
|
email:
|
@@ -25,6 +25,7 @@ files:
|
|
25
25
|
- Rakefile
|
26
26
|
- lib/utensils.rb
|
27
27
|
- lib/utensils/capybara_extensions.rb
|
28
|
+
- lib/utensils/capybara_javascript.rb
|
28
29
|
- lib/utensils/custom_matchers.rb
|
29
30
|
- lib/utensils/database_cleaner.rb
|
30
31
|
- lib/utensils/timecop.rb
|
@@ -46,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
47
|
version: '0'
|
47
48
|
segments:
|
48
49
|
- 0
|
49
|
-
hash:
|
50
|
+
hash: 519009693762749141
|
50
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
52
|
none: false
|
52
53
|
requirements:
|
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
55
56
|
version: '0'
|
56
57
|
segments:
|
57
58
|
- 0
|
58
|
-
hash:
|
59
|
+
hash: 519009693762749141
|
59
60
|
requirements: []
|
60
61
|
rubyforge_project:
|
61
62
|
rubygems_version: 1.8.23
|