spinach 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spinach/capybara.rb +10 -0
- data/lib/spinach/version.rb +1 -1
- metadata +35 -29
data/lib/spinach/capybara.rb
CHANGED
@@ -29,6 +29,16 @@ module Spinach
|
|
29
29
|
require 'capybara/rspec'
|
30
30
|
include ::Capybara::RSpecMatchers
|
31
31
|
end
|
32
|
+
|
33
|
+
def visit(*args)
|
34
|
+
stream = STDOUT
|
35
|
+
old_stream = stream.dup
|
36
|
+
stream.reopen('/dev/null')
|
37
|
+
stream.sync = true
|
38
|
+
super
|
39
|
+
ensure
|
40
|
+
stream.reopen(old_stream)
|
41
|
+
end
|
32
42
|
end
|
33
43
|
|
34
44
|
Spinach.hooks.after_scenario do
|
data/lib/spinach/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spinach
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,11 +12,11 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-
|
15
|
+
date: 2012-02-06 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: gherkin-ruby
|
19
|
-
requirement: &
|
19
|
+
requirement: &2164870640 !ruby/object:Gem::Requirement
|
20
20
|
none: false
|
21
21
|
requirements:
|
22
22
|
- - ~>
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: 0.1.0
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *2164870640
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: colorize
|
30
|
-
requirement: &
|
30
|
+
requirement: &2164885300 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ! '>='
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: '0'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *2164885300
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rake
|
41
|
-
requirement: &
|
41
|
+
requirement: &2164884680 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ! '>='
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: '0'
|
47
47
|
type: :development
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *2164884680
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: mocha
|
52
|
-
requirement: &
|
52
|
+
requirement: &2164884200 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ! '>='
|
@@ -57,10 +57,10 @@ dependencies:
|
|
57
57
|
version: '0'
|
58
58
|
type: :development
|
59
59
|
prerelease: false
|
60
|
-
version_requirements: *
|
60
|
+
version_requirements: *2164884200
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: sinatra
|
63
|
-
requirement: &
|
63
|
+
requirement: &2164883660 !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
66
|
- - ! '>='
|
@@ -68,10 +68,10 @@ dependencies:
|
|
68
68
|
version: '0'
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
|
-
version_requirements: *
|
71
|
+
version_requirements: *2164883660
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: capybara
|
74
|
-
requirement: &
|
74
|
+
requirement: &2164883000 !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
77
77
|
- - ! '>='
|
@@ -79,10 +79,10 @@ dependencies:
|
|
79
79
|
version: '0'
|
80
80
|
type: :development
|
81
81
|
prerelease: false
|
82
|
-
version_requirements: *
|
82
|
+
version_requirements: *2164883000
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: open4
|
85
|
-
requirement: &
|
85
|
+
requirement: &2164882540 !ruby/object:Gem::Requirement
|
86
86
|
none: false
|
87
87
|
requirements:
|
88
88
|
- - ! '>='
|
@@ -90,10 +90,10 @@ dependencies:
|
|
90
90
|
version: '0'
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
|
-
version_requirements: *
|
93
|
+
version_requirements: *2164882540
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: pry
|
96
|
-
requirement: &
|
96
|
+
requirement: &2164881940 !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
99
|
- - ! '>='
|
@@ -101,10 +101,10 @@ dependencies:
|
|
101
101
|
version: '0'
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
|
-
version_requirements: *
|
104
|
+
version_requirements: *2164881940
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: simplecov
|
107
|
-
requirement: &
|
107
|
+
requirement: &2164881340 !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|
110
110
|
- - ! '>='
|
@@ -112,10 +112,10 @@ dependencies:
|
|
112
112
|
version: '0'
|
113
113
|
type: :development
|
114
114
|
prerelease: false
|
115
|
-
version_requirements: *
|
115
|
+
version_requirements: *2164881340
|
116
116
|
- !ruby/object:Gem::Dependency
|
117
117
|
name: rspec
|
118
|
-
requirement: &
|
118
|
+
requirement: &2164880800 !ruby/object:Gem::Requirement
|
119
119
|
none: false
|
120
120
|
requirements:
|
121
121
|
- - ! '>='
|
@@ -123,10 +123,10 @@ dependencies:
|
|
123
123
|
version: '0'
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
|
-
version_requirements: *
|
126
|
+
version_requirements: *2164880800
|
127
127
|
- !ruby/object:Gem::Dependency
|
128
128
|
name: fakefs
|
129
|
-
requirement: &
|
129
|
+
requirement: &2164880100 !ruby/object:Gem::Requirement
|
130
130
|
none: false
|
131
131
|
requirements:
|
132
132
|
- - ! '>='
|
@@ -134,10 +134,10 @@ dependencies:
|
|
134
134
|
version: '0'
|
135
135
|
type: :development
|
136
136
|
prerelease: false
|
137
|
-
version_requirements: *
|
137
|
+
version_requirements: *2164880100
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
139
|
name: minitest
|
140
|
-
requirement: &
|
140
|
+
requirement: &2164878420 !ruby/object:Gem::Requirement
|
141
141
|
none: false
|
142
142
|
requirements:
|
143
143
|
- - ~>
|
@@ -145,10 +145,10 @@ dependencies:
|
|
145
145
|
version: 2.8.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
|
-
version_requirements: *
|
148
|
+
version_requirements: *2164878420
|
149
149
|
- !ruby/object:Gem::Dependency
|
150
150
|
name: turn
|
151
|
-
requirement: &
|
151
|
+
requirement: &2164933560 !ruby/object:Gem::Requirement
|
152
152
|
none: false
|
153
153
|
requirements:
|
154
154
|
- - ! '>='
|
@@ -156,7 +156,7 @@ dependencies:
|
|
156
156
|
version: '0'
|
157
157
|
type: :development
|
158
158
|
prerelease: false
|
159
|
-
version_requirements: *
|
159
|
+
version_requirements: *2164933560
|
160
160
|
description: Spinach is a BDD framework on top of gherkin
|
161
161
|
email:
|
162
162
|
- info@codegram.com
|
@@ -268,15 +268,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
268
268
|
- - ! '>='
|
269
269
|
- !ruby/object:Gem::Version
|
270
270
|
version: '0'
|
271
|
+
segments:
|
272
|
+
- 0
|
273
|
+
hash: 2060161195994026194
|
271
274
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
275
|
none: false
|
273
276
|
requirements:
|
274
277
|
- - ! '>='
|
275
278
|
- !ruby/object:Gem::Version
|
276
279
|
version: '0'
|
280
|
+
segments:
|
281
|
+
- 0
|
282
|
+
hash: 2060161195994026194
|
277
283
|
requirements: []
|
278
284
|
rubyforge_project:
|
279
|
-
rubygems_version: 1.8.
|
285
|
+
rubygems_version: 1.8.15
|
280
286
|
signing_key:
|
281
287
|
specification_version: 3
|
282
288
|
summary: Spinach is a BDD framework on top of gherkin
|