elabs_matchers 0.0.7 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +3 -6
- data/{development.txt → development.md} +2 -2
- data/doc/ElabsMatchers/Helpers/Fixtures.html +46 -46
- data/doc/ElabsMatchers/Helpers/NormalizeKeys.html +45 -45
- data/doc/ElabsMatchers/Helpers/ReloadRecord.html +45 -45
- data/doc/ElabsMatchers/Helpers/SelectYearAndMonth.html +48 -48
- data/doc/ElabsMatchers/Helpers.html +40 -40
- data/doc/ElabsMatchers/Matchers/{Allow/AllowMatcher.html → BeValidWith/BeValidWithMatcher.html} +150 -85
- data/doc/ElabsMatchers/Matchers/BeValidWith.html +229 -0
- data/doc/ElabsMatchers/Matchers/ContainHash/ContainHashMatcher.html +80 -67
- data/doc/ElabsMatchers/Matchers/ContainHash.html +51 -51
- data/doc/ElabsMatchers/Matchers/HaveAttribute/HaveAttributeMatcher.html +108 -95
- data/doc/ElabsMatchers/Matchers/HaveAttribute.html +49 -49
- data/doc/ElabsMatchers/Matchers/HaveFields/HaveFieldsMatcher.html +103 -90
- data/doc/ElabsMatchers/Matchers/HaveFields.html +50 -50
- data/doc/ElabsMatchers/Matchers/HaveFlash/HaveFlashMatcher.html +108 -95
- data/doc/ElabsMatchers/Matchers/HaveFlash.html +57 -57
- data/doc/ElabsMatchers/Matchers/HaveFormErrorsOn/HaveFormErrorsOnMatcher.html +110 -97
- data/doc/ElabsMatchers/Matchers/HaveFormErrorsOn.html +49 -49
- data/doc/ElabsMatchers/Matchers/HaveHeader/HaveHeaderMatcher.html +103 -90
- data/doc/ElabsMatchers/Matchers/HaveHeader.html +49 -49
- data/doc/ElabsMatchers/Matchers/HaveImage/HaveImageMatcher.html +104 -91
- data/doc/ElabsMatchers/Matchers/HaveImage.html +49 -49
- data/doc/ElabsMatchers/Matchers/OnlyInclude/OnlyIncludeMatcher.html +79 -66
- data/doc/ElabsMatchers/Matchers/OnlyInclude.html +50 -50
- data/doc/ElabsMatchers/Matchers/Persist/PersistMatcher.html +134 -69
- data/doc/ElabsMatchers/Matchers/Persist.html +49 -49
- data/doc/ElabsMatchers/Matchers.html +42 -42
- data/doc/ElabsMatchers.html +143 -144
- data/doc/_index.html +35 -52
- data/doc/class_list.html +25 -27
- data/doc/css/full_list.css +32 -31
- data/doc/css/style.css +262 -91
- data/doc/file.README.html +91 -87
- data/doc/file_list.html +27 -26
- data/doc/frames.html +10 -21
- data/doc/index.html +91 -87
- data/doc/js/app.js +106 -72
- data/doc/js/full_list.js +170 -127
- data/doc/method_list.html +456 -505
- data/doc/top-level-namespace.html +36 -38
- data/elabs_matchers.gemspec +2 -2
- data/history.txt +11 -0
- data/lib/elabs_matchers/helpers/normalize_keys.rb +1 -1
- data/lib/elabs_matchers/helpers/select_year_and_month.rb +1 -0
- data/lib/elabs_matchers/matchers/be_valid_with.rb +5 -10
- data/lib/elabs_matchers/matchers/contain_hash.rb +4 -2
- data/lib/elabs_matchers/matchers/have_attribute.rb +5 -2
- data/lib/elabs_matchers/matchers/have_fields.rb +5 -2
- data/lib/elabs_matchers/matchers/have_flash.rb +5 -2
- data/lib/elabs_matchers/matchers/have_form_errors_on.rb +5 -2
- data/lib/elabs_matchers/matchers/have_header.rb +5 -2
- data/lib/elabs_matchers/matchers/have_image.rb +5 -2
- data/lib/elabs_matchers/matchers/only_include.rb +14 -2
- data/lib/elabs_matchers/matchers/persist.rb +8 -2
- data/lib/elabs_matchers/version.rb +1 -1
- data/lib/elabs_matchers.rb +0 -1
- data/spec/elabs_matchers/matchers/only_include_spec.rb +13 -0
- data/spec/elabs_matchers/matchers/persist_spec.rb +1 -1
- data/spec/spec_helper.rb +7 -0
- metadata +8 -29
- data/doc/Cucumber.html +0 -116
- data/doc/ElabsMatchers/Cucumber/Common.html +0 -145
- data/doc/ElabsMatchers/Cucumber.html +0 -108
- data/doc/ElabsMatchers/Helpers/Capybara.html +0 -241
- data/doc/ElabsMatchers/Helpers/Common.html +0 -213
- data/doc/ElabsMatchers/Helpers/Orm.html +0 -289
- data/doc/ElabsMatchers/Helpers/Session.html +0 -497
- data/doc/ElabsMatchers/Matchers/Allow.html +0 -229
- data/doc/ElabsMatchers/Matchers/Capybara/Common.html +0 -1159
- data/doc/ElabsMatchers/Matchers/Capybara.html +0 -108
- data/doc/ElabsMatchers/Matchers/HaveTableRow/HaveTableRowMatcher.html +0 -654
- data/doc/ElabsMatchers/Matchers/HaveTableRow.html +0 -236
- data/doc/ElabsMatchers/Matchers/Rspec/Allow.html +0 -98
- data/doc/ElabsMatchers/Matchers/Rspec/Common.html +0 -332
- data/doc/ElabsMatchers/Matchers/Rspec/Orm.html +0 -231
- data/doc/ElabsMatchers/Matchers/Rspec.html +0 -110
- data/doc/ElabsMatchers/Orm/Post.html +0 -1041
- data/doc/ElabsMatchers/Orm.html +0 -108
- data/lib/elabs_matchers/matchers/have_table_row.rb +0 -124
- data/spec/elabs_matchers/matchers/have_table_row_spec.rb +0 -119
@@ -1,108 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Module: ElabsMatchers::Matchers::Capybara
|
8
|
-
|
9
|
-
— Documentation by YARD 0.7.5
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
relpath = '../..';
|
19
|
-
if (relpath != '') relpath += '/';
|
20
|
-
</script>
|
21
|
-
|
22
|
-
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
25
|
-
|
26
|
-
|
27
|
-
</head>
|
28
|
-
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
|
-
<div id="header">
|
34
|
-
<div id="menu">
|
35
|
-
|
36
|
-
<a href="../../_index.html">Index (C)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../../ElabsMatchers.html" title="ElabsMatchers (module)">ElabsMatchers</a></span></span> » <span class='title'><span class='object_link'><a href="../Matchers.html" title="ElabsMatchers::Matchers (module)">Matchers</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">Capybara</span>
|
40
|
-
|
41
|
-
|
42
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<div id="search">
|
46
|
-
|
47
|
-
<a id="class_list_link" href="#">Class List</a>
|
48
|
-
|
49
|
-
<a id="method_list_link" href="#">Method List</a>
|
50
|
-
|
51
|
-
<a id="file_list_link" href="#">File List</a>
|
52
|
-
|
53
|
-
</div>
|
54
|
-
<div class="clear"></div>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<iframe id="search_frame"></iframe>
|
58
|
-
|
59
|
-
<div id="content"><h1>Module: ElabsMatchers::Matchers::Capybara
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</h1>
|
64
|
-
|
65
|
-
<dl class="box">
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
<dt class="r1 last">Defined in:</dt>
|
75
|
-
<dd class="r1 last">lib/elabs_matchers/matchers/capybara/common.rb</dd>
|
76
|
-
|
77
|
-
</dl>
|
78
|
-
<div class="clear"></div>
|
79
|
-
|
80
|
-
<h2>Defined Under Namespace</h2>
|
81
|
-
<p class="children">
|
82
|
-
|
83
|
-
|
84
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Capybara/Common.html" title="ElabsMatchers::Matchers::Capybara::Common (module)">Common</a></span>
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
</p>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
</div>
|
100
|
-
|
101
|
-
<div id="footer">
|
102
|
-
Generated on Fri Feb 17 16:29:16 2012 by
|
103
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
104
|
-
0.7.5 (ruby-1.9.3).
|
105
|
-
</div>
|
106
|
-
|
107
|
-
</body>
|
108
|
-
</html>
|
@@ -1,654 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<title>
|
7
|
-
Class: ElabsMatchers::Matchers::HaveTableRow::HaveTableRowMatcher
|
8
|
-
|
9
|
-
— Documentation by YARD 0.8.2.1
|
10
|
-
|
11
|
-
</title>
|
12
|
-
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
-
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
-
|
17
|
-
<script type="text/javascript" charset="utf-8">
|
18
|
-
hasFrames = window.top.frames.main ? true : false;
|
19
|
-
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!" + escape(window.location.href);
|
21
|
-
</script>
|
22
|
-
|
23
|
-
|
24
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
25
|
-
|
26
|
-
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
27
|
-
|
28
|
-
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id="header">
|
32
|
-
<div id="menu">
|
33
|
-
|
34
|
-
<a href="../../../_index.html">Index (H)</a> »
|
35
|
-
<span class='title'><span class='object_link'><a href="../../../ElabsMatchers.html" title="ElabsMatchers (module)">ElabsMatchers</a></span></span> » <span class='title'><span class='object_link'><a href="../../Matchers.html" title="ElabsMatchers::Matchers (module)">Matchers</a></span></span> » <span class='title'><span class='object_link'><a href="../HaveTableRow.html" title="ElabsMatchers::Matchers::HaveTableRow (module)">HaveTableRow</a></span></span>
|
36
|
-
»
|
37
|
-
<span class="title">HaveTableRowMatcher</span>
|
38
|
-
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
-
</div>
|
42
|
-
|
43
|
-
<div id="search">
|
44
|
-
|
45
|
-
<a class="full_list_link" id="class_list_link"
|
46
|
-
href="../../../class_list.html">
|
47
|
-
Class List
|
48
|
-
</a>
|
49
|
-
|
50
|
-
<a class="full_list_link" id="method_list_link"
|
51
|
-
href="../../../method_list.html">
|
52
|
-
Method List
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
58
|
-
</a>
|
59
|
-
|
60
|
-
</div>
|
61
|
-
<div class="clear"></div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
65
|
-
|
66
|
-
<div id="content"><h1>Class: ElabsMatchers::Matchers::HaveTableRow::HaveTableRowMatcher
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
73
|
-
|
74
|
-
<dt class="r1">Inherits:</dt>
|
75
|
-
<dd class="r1">
|
76
|
-
<span class="inheritName">Struct</span>
|
77
|
-
|
78
|
-
<ul class="fullTree">
|
79
|
-
<li>Object</li>
|
80
|
-
|
81
|
-
<li class="next">Struct</li>
|
82
|
-
|
83
|
-
<li class="next">ElabsMatchers::Matchers::HaveTableRow::HaveTableRowMatcher</li>
|
84
|
-
|
85
|
-
</ul>
|
86
|
-
<a href="#" class="inheritanceTree">show all</a>
|
87
|
-
|
88
|
-
</dd>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
<dt class="r2 last">Defined in:</dt>
|
99
|
-
<dd class="r2 last">lib/elabs_matchers/matchers/have_table_row.rb</dd>
|
100
|
-
|
101
|
-
</dl>
|
102
|
-
<div class="clear"></div>
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
109
|
-
<ul class="summary">
|
110
|
-
|
111
|
-
<li class="public ">
|
112
|
-
<span class="summary_signature">
|
113
|
-
|
114
|
-
<a href="#page-instance_method" title="#page (instance method)">- (Object) <strong>page</strong> </a>
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
</span>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
<span class="note title readonly">readonly</span>
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
<span class="summary_desc"><div class='inline'>
|
134
|
-
<p>Returns the value of attribute page.</p>
|
135
|
-
</div></span>
|
136
|
-
|
137
|
-
</li>
|
138
|
-
|
139
|
-
|
140
|
-
<li class="public ">
|
141
|
-
<span class="summary_signature">
|
142
|
-
|
143
|
-
<a href="#row-instance_method" title="#row (instance method)">- (Object) <strong>row</strong> </a>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
</span>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
<span class="summary_desc"><div class='inline'>
|
161
|
-
<p>Returns the value of attribute row.</p>
|
162
|
-
</div></span>
|
163
|
-
|
164
|
-
</li>
|
165
|
-
|
166
|
-
|
167
|
-
<li class="public ">
|
168
|
-
<span class="summary_signature">
|
169
|
-
|
170
|
-
<a href="#table_name-instance_method" title="#table_name (instance method)">- (Object) <strong>table_name</strong> </a>
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
</span>
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
<span class="summary_desc"><div class='inline'>
|
188
|
-
<p>Returns the value of attribute table_name.</p>
|
189
|
-
</div></span>
|
190
|
-
|
191
|
-
</li>
|
192
|
-
|
193
|
-
|
194
|
-
</ul>
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
<h2>
|
201
|
-
Instance Method Summary
|
202
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
203
|
-
</h2>
|
204
|
-
|
205
|
-
<ul class="summary">
|
206
|
-
|
207
|
-
<li class="public ">
|
208
|
-
<span class="summary_signature">
|
209
|
-
|
210
|
-
<a href="#does_not_match%3F-instance_method" title="#does_not_match? (instance method)">- (Boolean) <strong>does_not_match?</strong>(page) </a>
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
</span>
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
225
|
-
|
226
|
-
</li>
|
227
|
-
|
228
|
-
|
229
|
-
<li class="public ">
|
230
|
-
<span class="summary_signature">
|
231
|
-
|
232
|
-
<a href="#failure_message_for_should-instance_method" title="#failure_message_for_should (instance method)">- (Object) <strong>failure_message_for_should</strong> </a>
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
</span>
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
247
|
-
|
248
|
-
</li>
|
249
|
-
|
250
|
-
|
251
|
-
<li class="public ">
|
252
|
-
<span class="summary_signature">
|
253
|
-
|
254
|
-
<a href="#failure_message_for_should_not-instance_method" title="#failure_message_for_should_not (instance method)">- (Object) <strong>failure_message_for_should_not</strong> </a>
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
</span>
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
269
|
-
|
270
|
-
</li>
|
271
|
-
|
272
|
-
|
273
|
-
<li class="public ">
|
274
|
-
<span class="summary_signature">
|
275
|
-
|
276
|
-
<a href="#matches%3F-instance_method" title="#matches? (instance method)">- (Boolean) <strong>matches?</strong>(page) </a>
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
</span>
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
291
|
-
|
292
|
-
</li>
|
293
|
-
|
294
|
-
|
295
|
-
</ul>
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
<div id="instance_attr_details" class="attr_details">
|
301
|
-
<h2>Instance Attribute Details</h2>
|
302
|
-
|
303
|
-
|
304
|
-
<span id=""></span>
|
305
|
-
<div class="method_details first">
|
306
|
-
<h3 class="signature first" id="page-instance_method">
|
307
|
-
|
308
|
-
- (<tt>Object</tt>) <strong>page</strong> <span class="extras">(readonly)</span>
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
</h3><div class="docstring">
|
315
|
-
<div class="discussion">
|
316
|
-
|
317
|
-
<p>Returns the value of attribute page</p>
|
318
|
-
|
319
|
-
|
320
|
-
</div>
|
321
|
-
</div>
|
322
|
-
<div class="tags">
|
323
|
-
|
324
|
-
|
325
|
-
</div><table class="source_code">
|
326
|
-
<tr>
|
327
|
-
<td>
|
328
|
-
<pre class="lines">
|
329
|
-
|
330
|
-
|
331
|
-
7
|
332
|
-
8
|
333
|
-
9</pre>
|
334
|
-
</td>
|
335
|
-
<td>
|
336
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_table_row.rb', line 7</span>
|
337
|
-
|
338
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_page'>page</span>
|
339
|
-
<span class='ivar'>@page</span>
|
340
|
-
<span class='kw'>end</span></pre>
|
341
|
-
</td>
|
342
|
-
</tr>
|
343
|
-
</table>
|
344
|
-
</div>
|
345
|
-
|
346
|
-
|
347
|
-
<span id="row=-instance_method"></span>
|
348
|
-
<div class="method_details ">
|
349
|
-
<h3 class="signature " id="row-instance_method">
|
350
|
-
|
351
|
-
- (<tt>Object</tt>) <strong>row</strong>
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
</h3><div class="docstring">
|
358
|
-
<div class="discussion">
|
359
|
-
|
360
|
-
<p>Returns the value of attribute row</p>
|
361
|
-
|
362
|
-
|
363
|
-
</div>
|
364
|
-
</div>
|
365
|
-
<div class="tags">
|
366
|
-
|
367
|
-
<p class="tag_title">Returns:</p>
|
368
|
-
<ul class="return">
|
369
|
-
|
370
|
-
<li>
|
371
|
-
|
372
|
-
|
373
|
-
<span class='type'>(<tt>Object</tt>)</span>
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
—
|
378
|
-
<div class='inline'>
|
379
|
-
<p>the current value of row</p>
|
380
|
-
</div>
|
381
|
-
|
382
|
-
</li>
|
383
|
-
|
384
|
-
</ul>
|
385
|
-
|
386
|
-
</div><table class="source_code">
|
387
|
-
<tr>
|
388
|
-
<td>
|
389
|
-
<pre class="lines">
|
390
|
-
|
391
|
-
|
392
|
-
6
|
393
|
-
7
|
394
|
-
8</pre>
|
395
|
-
</td>
|
396
|
-
<td>
|
397
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_table_row.rb', line 6</span>
|
398
|
-
|
399
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_row'>row</span>
|
400
|
-
<span class='ivar'>@row</span>
|
401
|
-
<span class='kw'>end</span></pre>
|
402
|
-
</td>
|
403
|
-
</tr>
|
404
|
-
</table>
|
405
|
-
</div>
|
406
|
-
|
407
|
-
|
408
|
-
<span id="table_name=-instance_method"></span>
|
409
|
-
<div class="method_details ">
|
410
|
-
<h3 class="signature " id="table_name-instance_method">
|
411
|
-
|
412
|
-
- (<tt>Object</tt>) <strong>table_name</strong>
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
</h3><div class="docstring">
|
419
|
-
<div class="discussion">
|
420
|
-
|
421
|
-
<p>Returns the value of attribute table_name</p>
|
422
|
-
|
423
|
-
|
424
|
-
</div>
|
425
|
-
</div>
|
426
|
-
<div class="tags">
|
427
|
-
|
428
|
-
<p class="tag_title">Returns:</p>
|
429
|
-
<ul class="return">
|
430
|
-
|
431
|
-
<li>
|
432
|
-
|
433
|
-
|
434
|
-
<span class='type'>(<tt>Object</tt>)</span>
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
—
|
439
|
-
<div class='inline'>
|
440
|
-
<p>the current value of table_name</p>
|
441
|
-
</div>
|
442
|
-
|
443
|
-
</li>
|
444
|
-
|
445
|
-
</ul>
|
446
|
-
|
447
|
-
</div><table class="source_code">
|
448
|
-
<tr>
|
449
|
-
<td>
|
450
|
-
<pre class="lines">
|
451
|
-
|
452
|
-
|
453
|
-
6
|
454
|
-
7
|
455
|
-
8</pre>
|
456
|
-
</td>
|
457
|
-
<td>
|
458
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_table_row.rb', line 6</span>
|
459
|
-
|
460
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_table_name'>table_name</span>
|
461
|
-
<span class='ivar'>@table_name</span>
|
462
|
-
<span class='kw'>end</span></pre>
|
463
|
-
</td>
|
464
|
-
</tr>
|
465
|
-
</table>
|
466
|
-
</div>
|
467
|
-
|
468
|
-
</div>
|
469
|
-
|
470
|
-
|
471
|
-
<div id="instance_method_details" class="method_details_list">
|
472
|
-
<h2>Instance Method Details</h2>
|
473
|
-
|
474
|
-
|
475
|
-
<div class="method_details first">
|
476
|
-
<h3 class="signature first" id="does_not_match?-instance_method">
|
477
|
-
|
478
|
-
- (<tt>Boolean</tt>) <strong>does_not_match?</strong>(page)
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
</h3><div class="docstring">
|
485
|
-
<div class="discussion">
|
486
|
-
|
487
|
-
|
488
|
-
</div>
|
489
|
-
</div>
|
490
|
-
<div class="tags">
|
491
|
-
|
492
|
-
<p class="tag_title">Returns:</p>
|
493
|
-
<ul class="return">
|
494
|
-
|
495
|
-
<li>
|
496
|
-
|
497
|
-
|
498
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
</li>
|
503
|
-
|
504
|
-
</ul>
|
505
|
-
|
506
|
-
</div><table class="source_code">
|
507
|
-
<tr>
|
508
|
-
<td>
|
509
|
-
<pre class="lines">
|
510
|
-
|
511
|
-
|
512
|
-
14
|
513
|
-
15
|
514
|
-
16
|
515
|
-
17</pre>
|
516
|
-
</td>
|
517
|
-
<td>
|
518
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_table_row.rb', line 14</span>
|
519
|
-
|
520
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_does_not_match?'>does_not_match?</span><span class='lparen'>(</span><span class='id identifier rubyid_page'>page</span><span class='rparen'>)</span>
|
521
|
-
<span class='ivar'>@page</span> <span class='op'>=</span> <span class='id identifier rubyid_page'>page</span>
|
522
|
-
<span class='op'>!</span><span class='id identifier rubyid_table'>table</span> <span class='kw'>or</span> <span class='id identifier rubyid_table'>table</span><span class='period'>.</span><span class='id identifier rubyid_has_no_selector?'>has_no_selector?</span><span class='lparen'>(</span><span class='id identifier rubyid_selector_type'>selector_type</span><span class='comma'>,</span> <span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
|
523
|
-
<span class='kw'>end</span></pre>
|
524
|
-
</td>
|
525
|
-
</tr>
|
526
|
-
</table>
|
527
|
-
</div>
|
528
|
-
|
529
|
-
<div class="method_details ">
|
530
|
-
<h3 class="signature " id="failure_message_for_should-instance_method">
|
531
|
-
|
532
|
-
- (<tt>Object</tt>) <strong>failure_message_for_should</strong>
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
</h3><table class="source_code">
|
539
|
-
<tr>
|
540
|
-
<td>
|
541
|
-
<pre class="lines">
|
542
|
-
|
543
|
-
|
544
|
-
19
|
545
|
-
20
|
546
|
-
21</pre>
|
547
|
-
</td>
|
548
|
-
<td>
|
549
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_table_row.rb', line 19</span>
|
550
|
-
|
551
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_failure_message_for_should'>failure_message_for_should</span>
|
552
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_row'>row</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_content'> to be included in the table </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_table_name'>table_name</span><span class='rbrace'>}</span><span class='tstring_content'>, but it wasn't:\n\n</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ascii_table'>ascii_table</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
553
|
-
<span class='kw'>end</span></pre>
|
554
|
-
</td>
|
555
|
-
</tr>
|
556
|
-
</table>
|
557
|
-
</div>
|
558
|
-
|
559
|
-
<div class="method_details ">
|
560
|
-
<h3 class="signature " id="failure_message_for_should_not-instance_method">
|
561
|
-
|
562
|
-
- (<tt>Object</tt>) <strong>failure_message_for_should_not</strong>
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
</h3><table class="source_code">
|
569
|
-
<tr>
|
570
|
-
<td>
|
571
|
-
<pre class="lines">
|
572
|
-
|
573
|
-
|
574
|
-
23
|
575
|
-
24
|
576
|
-
25</pre>
|
577
|
-
</td>
|
578
|
-
<td>
|
579
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_table_row.rb', line 23</span>
|
580
|
-
|
581
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_failure_message_for_should_not'>failure_message_for_should_not</span>
|
582
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Expected there to be no table </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_table_name'>table_name</span><span class='rbrace'>}</span><span class='tstring_content'> with row </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_row'>row</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_content'>, but there was.\n\n</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_ascii_table'>ascii_table</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
583
|
-
<span class='kw'>end</span></pre>
|
584
|
-
</td>
|
585
|
-
</tr>
|
586
|
-
</table>
|
587
|
-
</div>
|
588
|
-
|
589
|
-
<div class="method_details ">
|
590
|
-
<h3 class="signature " id="matches?-instance_method">
|
591
|
-
|
592
|
-
- (<tt>Boolean</tt>) <strong>matches?</strong>(page)
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
</h3><div class="docstring">
|
599
|
-
<div class="discussion">
|
600
|
-
|
601
|
-
|
602
|
-
</div>
|
603
|
-
</div>
|
604
|
-
<div class="tags">
|
605
|
-
|
606
|
-
<p class="tag_title">Returns:</p>
|
607
|
-
<ul class="return">
|
608
|
-
|
609
|
-
<li>
|
610
|
-
|
611
|
-
|
612
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
</li>
|
617
|
-
|
618
|
-
</ul>
|
619
|
-
|
620
|
-
</div><table class="source_code">
|
621
|
-
<tr>
|
622
|
-
<td>
|
623
|
-
<pre class="lines">
|
624
|
-
|
625
|
-
|
626
|
-
9
|
627
|
-
10
|
628
|
-
11
|
629
|
-
12</pre>
|
630
|
-
</td>
|
631
|
-
<td>
|
632
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_table_row.rb', line 9</span>
|
633
|
-
|
634
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_matches?'>matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_page'>page</span><span class='rparen'>)</span>
|
635
|
-
<span class='ivar'>@page</span> <span class='op'>=</span> <span class='id identifier rubyid_page'>page</span>
|
636
|
-
<span class='id identifier rubyid_table'>table</span> <span class='kw'>and</span> <span class='id identifier rubyid_table'>table</span><span class='period'>.</span><span class='id identifier rubyid_has_selector?'>has_selector?</span><span class='lparen'>(</span><span class='id identifier rubyid_selector_type'>selector_type</span><span class='comma'>,</span> <span class='id identifier rubyid_selector'>selector</span><span class='rparen'>)</span>
|
637
|
-
<span class='kw'>end</span></pre>
|
638
|
-
</td>
|
639
|
-
</tr>
|
640
|
-
</table>
|
641
|
-
</div>
|
642
|
-
|
643
|
-
</div>
|
644
|
-
|
645
|
-
</div>
|
646
|
-
|
647
|
-
<div id="footer">
|
648
|
-
Generated on Wed Sep 19 15:04:28 2012 by
|
649
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
650
|
-
0.8.2.1 (ruby-1.9.3).
|
651
|
-
</div>
|
652
|
-
|
653
|
-
</body>
|
654
|
-
</html>
|