elabs_matchers 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/Gemfile.lock +37 -26
- data/README.md +57 -47
- data/development.txt +26 -0
- data/doc/ElabsMatchers/Helpers/Fixtures.html +33 -23
- data/doc/ElabsMatchers/Helpers/NormalizeKeys.html +222 -0
- data/doc/ElabsMatchers/Helpers/ReloadRecord.html +302 -0
- data/doc/ElabsMatchers/Helpers/SelectYearAndMonth.html +251 -0
- data/doc/ElabsMatchers/Helpers.html +29 -22
- data/doc/ElabsMatchers/Matchers/Allow/AllowMatcher.html +707 -0
- data/doc/ElabsMatchers/Matchers/Allow.html +229 -0
- data/doc/ElabsMatchers/Matchers/ContainHash/ContainHashMatcher.html +506 -0
- data/doc/ElabsMatchers/Matchers/ContainHash.html +222 -0
- data/doc/ElabsMatchers/Matchers/HaveAttribute/HaveAttributeMatcher.html +656 -0
- data/doc/ElabsMatchers/Matchers/HaveAttribute.html +239 -0
- data/doc/ElabsMatchers/Matchers/HaveFields/HaveFieldsMatcher.html +572 -0
- data/doc/ElabsMatchers/Matchers/HaveFields.html +220 -0
- data/doc/ElabsMatchers/Matchers/HaveFlash/HaveFlashMatcher.html +654 -0
- data/doc/ElabsMatchers/Matchers/HaveFlash.html +306 -0
- data/doc/ElabsMatchers/Matchers/HaveFormErrorsOn/HaveFormErrorsOnMatcher.html +678 -0
- data/doc/ElabsMatchers/Matchers/HaveFormErrorsOn.html +236 -0
- data/doc/ElabsMatchers/Matchers/HaveHeader/HaveHeaderMatcher.html +568 -0
- data/doc/ElabsMatchers/Matchers/HaveHeader.html +219 -0
- data/doc/ElabsMatchers/Matchers/HaveImage/HaveImageMatcher.html +592 -0
- data/doc/ElabsMatchers/Matchers/HaveImage.html +219 -0
- data/doc/ElabsMatchers/Matchers/HaveTableRow/HaveTableRowMatcher.html +654 -0
- data/doc/ElabsMatchers/Matchers/HaveTableRow.html +236 -0
- data/doc/ElabsMatchers/Matchers/OnlyInclude/OnlyIncludeMatcher.html +494 -0
- data/doc/ElabsMatchers/Matchers/OnlyInclude.html +221 -0
- data/doc/ElabsMatchers/Matchers/Persist/PersistMatcher.html +586 -0
- data/doc/ElabsMatchers/Matchers/Persist.html +235 -0
- data/doc/ElabsMatchers/Matchers.html +29 -22
- data/doc/ElabsMatchers.html +1144 -21
- data/doc/_index.html +161 -79
- data/doc/class_list.html +12 -6
- data/doc/css/full_list.css +4 -2
- data/doc/css/style.css +50 -44
- data/doc/file.README.html +71 -73
- data/doc/file_list.html +12 -6
- data/doc/frames.html +20 -5
- data/doc/index.html +71 -73
- data/doc/js/app.js +52 -43
- data/doc/js/full_list.js +9 -9
- data/doc/js/jquery.js +4 -16
- data/doc/method_list.html +603 -77
- data/doc/top-level-namespace.html +24 -103
- data/elabs_matchers.gemspec +4 -3
- data/history.txt +15 -0
- data/lib/elabs_matchers/extensions/module.rb +24 -0
- data/lib/elabs_matchers/helpers/fixtures.rb +2 -2
- data/lib/elabs_matchers/helpers/{common.rb → normalize_keys.rb} +3 -4
- data/lib/elabs_matchers/helpers/{orm.rb → reload_record.rb} +9 -6
- data/lib/elabs_matchers/helpers/{capybara.rb → select_year_and_month.rb} +5 -3
- data/lib/elabs_matchers/matchers/allow.rb +130 -0
- data/lib/elabs_matchers/matchers/contain_hash.rb +58 -0
- data/lib/elabs_matchers/matchers/have_attribute.rb +62 -0
- data/lib/elabs_matchers/matchers/have_fields.rb +45 -0
- data/lib/elabs_matchers/matchers/have_flash.rb +65 -0
- data/lib/elabs_matchers/matchers/have_form_errors_on.rb +79 -0
- data/lib/elabs_matchers/matchers/have_header.rb +53 -0
- data/lib/elabs_matchers/matchers/have_image.rb +69 -0
- data/lib/elabs_matchers/matchers/have_table_row.rb +113 -0
- data/lib/elabs_matchers/matchers/only_include.rb +41 -0
- data/lib/elabs_matchers/matchers/persist.rb +42 -0
- data/lib/elabs_matchers/version.rb +1 -1
- data/lib/elabs_matchers.rb +90 -10
- data/spec/elabs_matchers/helpers/fixtures_spec.rb +1 -1
- data/spec/elabs_matchers/helpers/{common_spec.rb → normalize_keys_spec.rb} +2 -2
- data/spec/elabs_matchers/helpers/{orm_spec.rb → reload_record_spec.rb} +3 -2
- data/spec/elabs_matchers/helpers/select_year_and_month_spec.rb +32 -0
- data/spec/elabs_matchers/matchers/{rspec/allow_spec.rb → allow_spec.rb} +5 -4
- data/spec/elabs_matchers/matchers/contain_hash_spec.rb +86 -0
- data/spec/elabs_matchers/matchers/have_attribute_spec.rb +65 -0
- data/spec/elabs_matchers/matchers/have_fields_spec.rb +46 -0
- data/spec/elabs_matchers/matchers/have_flash_spec.rb +97 -0
- data/spec/elabs_matchers/matchers/have_form_errors_on_spec.rb +93 -0
- data/spec/elabs_matchers/matchers/have_header_spec.rb +54 -0
- data/spec/elabs_matchers/matchers/have_image_spec.rb +49 -0
- data/spec/elabs_matchers/matchers/have_table_row_spec.rb +119 -0
- data/spec/elabs_matchers/matchers/only_include_spec.rb +32 -0
- data/spec/elabs_matchers/matchers/persist_spec.rb +21 -0
- data/{lib/elabs_matchers/orm → spec/fixtures}/post.rb +0 -0
- data/spec/spec_helper.rb +19 -8
- data/todo.txt +6 -0
- metadata +104 -48
- data/lib/elabs_matchers/cucumber/common.rb +0 -57
- data/lib/elabs_matchers/helpers/session.rb +0 -81
- data/lib/elabs_matchers/matchers/capybara/common.rb +0 -245
- data/lib/elabs_matchers/matchers/rspec/allow.rb +0 -112
- data/lib/elabs_matchers/matchers/rspec/common.rb +0 -59
- data/lib/elabs_matchers/matchers/rspec/orm.rb +0 -29
- data/spec/elabs_matchers/cucumber/common_spec.rb +0 -49
- data/spec/elabs_matchers/helpers/capybara_spec.rb +0 -32
- data/spec/elabs_matchers/helpers/session_spec.rb +0 -35
- data/spec/elabs_matchers/matchers/capybara/common_spec.rb +0 -202
- data/spec/elabs_matchers/matchers/rspec/common_spec.rb +0 -74
- data/spec/elabs_matchers/matchers/rspec/orm_spec.rb +0 -16
@@ -0,0 +1,235 @@
|
|
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::Persist
|
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 (P)</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>
|
36
|
+
»
|
37
|
+
<span class="title">Persist</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>Module: ElabsMatchers::Matchers::Persist
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
<dt class="r1 last">Defined in:</dt>
|
82
|
+
<dd class="r1 last">lib/elabs_matchers/matchers/persist.rb</dd>
|
83
|
+
|
84
|
+
</dl>
|
85
|
+
<div class="clear"></div>
|
86
|
+
|
87
|
+
<h2>Defined Under Namespace</h2>
|
88
|
+
<p class="children">
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Persist/PersistMatcher.html" title="ElabsMatchers::Matchers::Persist::PersistMatcher (class)">PersistMatcher</a></span>
|
94
|
+
|
95
|
+
|
96
|
+
</p>
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
<h2>
|
106
|
+
Instance Method Summary
|
107
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
108
|
+
</h2>
|
109
|
+
|
110
|
+
<ul class="summary">
|
111
|
+
|
112
|
+
<li class="public ">
|
113
|
+
<span class="summary_signature">
|
114
|
+
|
115
|
+
<a href="#persist-instance_method" title="#persist (instance method)">- (Object) <strong>persist</strong>(attribute, value) </a>
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
</span>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
<span class="summary_desc"><div class='inline'>
|
130
|
+
<p>Asserts if an assigned value persistes in the database.</p>
|
131
|
+
</div></span>
|
132
|
+
|
133
|
+
</li>
|
134
|
+
|
135
|
+
|
136
|
+
</ul>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
<div id="instance_method_details" class="method_details_list">
|
142
|
+
<h2>Instance Method Details</h2>
|
143
|
+
|
144
|
+
|
145
|
+
<div class="method_details first">
|
146
|
+
<h3 class="signature first" id="persist-instance_method">
|
147
|
+
|
148
|
+
- (<tt>Object</tt>) <strong>persist</strong>(attribute, value)
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
</h3><div class="docstring">
|
155
|
+
<div class="discussion">
|
156
|
+
|
157
|
+
<p>Asserts if an assigned value persistes in the database.</p>
|
158
|
+
|
159
|
+
<p>Example: post.should persist(:title, "Blog post")</p>
|
160
|
+
|
161
|
+
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
<div class="tags">
|
165
|
+
<p class="tag_title">Parameters:</p>
|
166
|
+
<ul class="param">
|
167
|
+
|
168
|
+
<li>
|
169
|
+
|
170
|
+
<span class='name'>attribute</span>
|
171
|
+
|
172
|
+
|
173
|
+
<span class='type'>(<tt>Symbol</tt>)</span>
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
—
|
178
|
+
<div class='inline'>
|
179
|
+
<p>The name of the attibute to check if it persisted or not</p>
|
180
|
+
</div>
|
181
|
+
|
182
|
+
</li>
|
183
|
+
|
184
|
+
<li>
|
185
|
+
|
186
|
+
<span class='name'>value</span>
|
187
|
+
|
188
|
+
|
189
|
+
<span class='type'>(<tt>Object</tt>)</span>
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
—
|
194
|
+
<div class='inline'>
|
195
|
+
<p>The value to persist to the attribute</p>
|
196
|
+
</div>
|
197
|
+
|
198
|
+
</li>
|
199
|
+
|
200
|
+
</ul>
|
201
|
+
|
202
|
+
|
203
|
+
</div><table class="source_code">
|
204
|
+
<tr>
|
205
|
+
<td>
|
206
|
+
<pre class="lines">
|
207
|
+
|
208
|
+
|
209
|
+
37
|
210
|
+
38
|
211
|
+
39</pre>
|
212
|
+
</td>
|
213
|
+
<td>
|
214
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 37</span>
|
215
|
+
|
216
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_persist'>persist</span><span class='lparen'>(</span><span class='id identifier rubyid_attribute'>attribute</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
217
|
+
<span class='const'>PersistMatcher</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_attribute'>attribute</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
218
|
+
<span class='kw'>end</span></pre>
|
219
|
+
</td>
|
220
|
+
</tr>
|
221
|
+
</table>
|
222
|
+
</div>
|
223
|
+
|
224
|
+
</div>
|
225
|
+
|
226
|
+
</div>
|
227
|
+
|
228
|
+
<div id="footer">
|
229
|
+
Generated on Wed Sep 19 15:04:26 2012 by
|
230
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
231
|
+
0.8.2.1 (ruby-1.9.3).
|
232
|
+
</div>
|
233
|
+
|
234
|
+
</body>
|
235
|
+
</html>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: ElabsMatchers::Matchers
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.8.2.1
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,10 +15,12 @@
|
|
15
15
|
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
19
|
-
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!" + escape(window.location.href);
|
20
21
|
</script>
|
21
22
|
|
23
|
+
|
22
24
|
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
23
25
|
|
24
26
|
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
@@ -26,36 +28,41 @@
|
|
26
28
|
|
27
29
|
</head>
|
28
30
|
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
31
|
<div id="header">
|
34
32
|
<div id="menu">
|
35
33
|
|
36
|
-
<a href="../_index.html">Index (M)</a> »
|
34
|
+
<a href="../_index.html">Index (M)</a> »
|
37
35
|
<span class='title'><span class='object_link'><a href="../ElabsMatchers.html" title="ElabsMatchers (module)">ElabsMatchers</a></span></span>
|
38
36
|
»
|
39
37
|
<span class="title">Matchers</span>
|
40
38
|
|
41
|
-
|
39
|
+
|
42
40
|
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
41
|
</div>
|
44
42
|
|
45
43
|
<div id="search">
|
46
44
|
|
47
|
-
<a
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
48
49
|
|
49
|
-
<a
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
50
54
|
|
51
|
-
<a
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
52
59
|
|
53
60
|
</div>
|
54
61
|
<div class="clear"></div>
|
55
62
|
</div>
|
56
|
-
|
63
|
+
|
57
64
|
<iframe id="search_frame"></iframe>
|
58
|
-
|
65
|
+
|
59
66
|
<div id="content"><h1>Module: ElabsMatchers::Matchers
|
60
67
|
|
61
68
|
|
@@ -72,8 +79,8 @@
|
|
72
79
|
|
73
80
|
|
74
81
|
<dt class="r1 last">Defined in:</dt>
|
75
|
-
<dd class="r1 last">lib/elabs_matchers/matchers/
|
76
|
-
lib/elabs_matchers/matchers/
|
82
|
+
<dd class="r1 last">lib/elabs_matchers/matchers/allow.rb<span class="defines">,<br />
|
83
|
+
lib/elabs_matchers/matchers/persist.rb,<br /> lib/elabs_matchers/matchers/have_flash.rb,<br /> lib/elabs_matchers/matchers/have_image.rb,<br /> lib/elabs_matchers/matchers/have_fields.rb,<br /> lib/elabs_matchers/matchers/have_header.rb,<br /> lib/elabs_matchers/matchers/only_include.rb,<br /> lib/elabs_matchers/matchers/contain_hash.rb,<br /> lib/elabs_matchers/matchers/have_attribute.rb,<br /> lib/elabs_matchers/matchers/have_table_row.rb,<br /> lib/elabs_matchers/matchers/have_form_errors_on.rb</span>
|
77
84
|
</dd>
|
78
85
|
|
79
86
|
</dl>
|
@@ -81,11 +88,11 @@
|
|
81
88
|
|
82
89
|
<h2>Defined Under Namespace</h2>
|
83
90
|
<p class="children">
|
84
|
-
|
91
|
+
|
85
92
|
|
86
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Matchers/
|
93
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Matchers/Allow.html" title="ElabsMatchers::Matchers::Allow (module)">Allow</a></span>, <span class='object_link'><a href="Matchers/ContainHash.html" title="ElabsMatchers::Matchers::ContainHash (module)">ContainHash</a></span>, <span class='object_link'><a href="Matchers/HaveAttribute.html" title="ElabsMatchers::Matchers::HaveAttribute (module)">HaveAttribute</a></span>, <span class='object_link'><a href="Matchers/HaveFields.html" title="ElabsMatchers::Matchers::HaveFields (module)">HaveFields</a></span>, <span class='object_link'><a href="Matchers/HaveFlash.html" title="ElabsMatchers::Matchers::HaveFlash (module)">HaveFlash</a></span>, <span class='object_link'><a href="Matchers/HaveFormErrorsOn.html" title="ElabsMatchers::Matchers::HaveFormErrorsOn (module)">HaveFormErrorsOn</a></span>, <span class='object_link'><a href="Matchers/HaveHeader.html" title="ElabsMatchers::Matchers::HaveHeader (module)">HaveHeader</a></span>, <span class='object_link'><a href="Matchers/HaveImage.html" title="ElabsMatchers::Matchers::HaveImage (module)">HaveImage</a></span>, <span class='object_link'><a href="Matchers/HaveTableRow.html" title="ElabsMatchers::Matchers::HaveTableRow (module)">HaveTableRow</a></span>, <span class='object_link'><a href="Matchers/OnlyInclude.html" title="ElabsMatchers::Matchers::OnlyInclude (module)">OnlyInclude</a></span>, <span class='object_link'><a href="Matchers/Persist.html" title="ElabsMatchers::Matchers::Persist (module)">Persist</a></span>
|
87
94
|
|
88
|
-
|
95
|
+
|
89
96
|
|
90
97
|
|
91
98
|
</p>
|
@@ -99,11 +106,11 @@
|
|
99
106
|
|
100
107
|
|
101
108
|
</div>
|
102
|
-
|
109
|
+
|
103
110
|
<div id="footer">
|
104
|
-
Generated on
|
111
|
+
Generated on Wed Sep 19 15:04:26 2012 by
|
105
112
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
106
|
-
0.
|
113
|
+
0.8.2.1 (ruby-1.9.3).
|
107
114
|
</div>
|
108
115
|
|
109
116
|
</body>
|
data/doc/ElabsMatchers.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: ElabsMatchers
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.8.2.1
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -15,10 +15,12 @@
|
|
15
15
|
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
18
19
|
relpath = '';
|
19
|
-
|
20
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
20
21
|
</script>
|
21
22
|
|
23
|
+
|
22
24
|
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
23
25
|
|
24
26
|
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
@@ -26,36 +28,41 @@
|
|
26
28
|
|
27
29
|
</head>
|
28
30
|
<body>
|
29
|
-
<script type="text/javascript" charset="utf-8">
|
30
|
-
if (window.top.frames.main) document.body.className = 'frames';
|
31
|
-
</script>
|
32
|
-
|
33
31
|
<div id="header">
|
34
32
|
<div id="menu">
|
35
33
|
|
36
|
-
<a href="_index.html">Index (E)</a> »
|
34
|
+
<a href="_index.html">Index (E)</a> »
|
37
35
|
|
38
36
|
|
39
37
|
<span class="title">ElabsMatchers</span>
|
40
38
|
|
41
|
-
|
39
|
+
|
42
40
|
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
43
41
|
</div>
|
44
42
|
|
45
43
|
<div id="search">
|
46
44
|
|
47
|
-
<a
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
48
49
|
|
49
|
-
<a
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
50
54
|
|
51
|
-
<a
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
52
59
|
|
53
60
|
</div>
|
54
61
|
<div class="clear"></div>
|
55
62
|
</div>
|
56
|
-
|
63
|
+
|
57
64
|
<iframe id="search_frame"></iframe>
|
58
|
-
|
65
|
+
|
59
66
|
<div id="content"><h1>Module: ElabsMatchers
|
60
67
|
|
61
68
|
|
@@ -73,7 +80,7 @@
|
|
73
80
|
|
74
81
|
<dt class="r1 last">Defined in:</dt>
|
75
82
|
<dd class="r1 last">lib/elabs_matchers.rb<span class="defines">,<br />
|
76
|
-
lib/elabs_matchers/version.rb,<br /> lib/elabs_matchers/
|
83
|
+
lib/elabs_matchers/version.rb,<br /> lib/elabs_matchers/matchers/allow.rb,<br /> lib/elabs_matchers/matchers/persist.rb,<br /> lib/elabs_matchers/helpers/fixtures.rb,<br /> lib/elabs_matchers/matchers/have_flash.rb,<br /> lib/elabs_matchers/matchers/have_image.rb,<br /> lib/elabs_matchers/matchers/have_fields.rb,<br /> lib/elabs_matchers/matchers/have_header.rb,<br /> lib/elabs_matchers/helpers/reload_record.rb,<br /> lib/elabs_matchers/matchers/only_include.rb,<br /> lib/elabs_matchers/matchers/contain_hash.rb,<br /> lib/elabs_matchers/helpers/normalize_keys.rb,<br /> lib/elabs_matchers/matchers/have_attribute.rb,<br /> lib/elabs_matchers/matchers/have_table_row.rb,<br /> lib/elabs_matchers/matchers/have_form_errors_on.rb,<br /> lib/elabs_matchers/helpers/select_year_and_month.rb</span>
|
77
84
|
</dd>
|
78
85
|
|
79
86
|
</dl>
|
@@ -81,11 +88,11 @@
|
|
81
88
|
|
82
89
|
<h2>Defined Under Namespace</h2>
|
83
90
|
<p class="children">
|
84
|
-
|
91
|
+
|
85
92
|
|
86
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="ElabsMatchers/
|
93
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="ElabsMatchers/Helpers.html" title="ElabsMatchers::Helpers (module)">Helpers</a></span>, <span class='object_link'><a href="ElabsMatchers/Matchers.html" title="ElabsMatchers::Matchers (module)">Matchers</a></span>
|
87
94
|
|
88
|
-
|
95
|
+
|
89
96
|
|
90
97
|
|
91
98
|
</p>
|
@@ -97,7 +104,7 @@
|
|
97
104
|
<dt id="VERSION-constant" class="">VERSION =
|
98
105
|
|
99
106
|
</dt>
|
100
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.
|
107
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0.3</span><span class='tstring_end'>"</span></span></pre></dd>
|
101
108
|
|
102
109
|
</dl>
|
103
110
|
|
@@ -105,17 +112,1133 @@
|
|
105
112
|
|
106
113
|
|
107
114
|
|
115
|
+
<h2>Class Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
116
|
+
<ul class="summary">
|
117
|
+
|
118
|
+
<li class="public ">
|
119
|
+
<span class="summary_signature">
|
120
|
+
|
121
|
+
<a href="#attribute_selector-class_method" title="attribute_selector (class method)">+ (Object) <strong>attribute_selector</strong> </a>
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</span>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
<span class="summary_desc"><div class='inline'>
|
139
|
+
<p>Returns the value of attribute attribute_selector.</p>
|
140
|
+
</div></span>
|
141
|
+
|
142
|
+
</li>
|
143
|
+
|
144
|
+
|
145
|
+
<li class="public ">
|
146
|
+
<span class="summary_signature">
|
147
|
+
|
148
|
+
<a href="#attribute_selector_type-class_method" title="attribute_selector_type (class method)">+ (Object) <strong>attribute_selector_type</strong> </a>
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
</span>
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
|
162
|
+
|
108
163
|
|
164
|
+
|
165
|
+
<span class="summary_desc"><div class='inline'>
|
166
|
+
<p>Returns the value of attribute attribute_selector_type.</p>
|
167
|
+
</div></span>
|
168
|
+
|
169
|
+
</li>
|
109
170
|
|
171
|
+
|
172
|
+
<li class="public ">
|
173
|
+
<span class="summary_signature">
|
174
|
+
|
175
|
+
<a href="#flash_alert_selector-class_method" title="flash_alert_selector (class method)">+ (Object) <strong>flash_alert_selector</strong> </a>
|
176
|
+
|
110
177
|
|
178
|
+
|
179
|
+
</span>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
111
190
|
|
191
|
+
|
192
|
+
<span class="summary_desc"><div class='inline'>
|
193
|
+
<p>Returns the value of attribute flash_alert_selector.</p>
|
194
|
+
</div></span>
|
195
|
+
|
196
|
+
</li>
|
112
197
|
|
113
|
-
</div>
|
114
198
|
|
199
|
+
<li class="public ">
|
200
|
+
<span class="summary_signature">
|
201
|
+
|
202
|
+
<a href="#flash_alert_selector_type-class_method" title="flash_alert_selector_type (class method)">+ (Object) <strong>flash_alert_selector_type</strong> </a>
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
</span>
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
<span class="summary_desc"><div class='inline'>
|
220
|
+
<p>Returns the value of attribute flash_alert_selector_type.</p>
|
221
|
+
</div></span>
|
222
|
+
|
223
|
+
</li>
|
224
|
+
|
225
|
+
|
226
|
+
<li class="public ">
|
227
|
+
<span class="summary_signature">
|
228
|
+
|
229
|
+
<a href="#flash_notice_selector-class_method" title="flash_notice_selector (class method)">+ (Object) <strong>flash_notice_selector</strong> </a>
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
</span>
|
234
|
+
|
235
|
+
|
236
|
+
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
<span class="summary_desc"><div class='inline'>
|
247
|
+
<p>Returns the value of attribute flash_notice_selector.</p>
|
248
|
+
</div></span>
|
249
|
+
|
250
|
+
</li>
|
251
|
+
|
252
|
+
|
253
|
+
<li class="public ">
|
254
|
+
<span class="summary_signature">
|
255
|
+
|
256
|
+
<a href="#flash_notice_selector_type-class_method" title="flash_notice_selector_type (class method)">+ (Object) <strong>flash_notice_selector_type</strong> </a>
|
257
|
+
|
258
|
+
|
259
|
+
|
260
|
+
</span>
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
<span class="summary_desc"><div class='inline'>
|
274
|
+
<p>Returns the value of attribute flash_notice_selector_type.</p>
|
275
|
+
</div></span>
|
276
|
+
|
277
|
+
</li>
|
278
|
+
|
279
|
+
|
280
|
+
<li class="public ">
|
281
|
+
<span class="summary_signature">
|
282
|
+
|
283
|
+
<a href="#form_errors_on_selector-class_method" title="form_errors_on_selector (class method)">+ (Object) <strong>form_errors_on_selector</strong> </a>
|
284
|
+
|
285
|
+
|
286
|
+
|
287
|
+
</span>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
<span class="summary_desc"><div class='inline'>
|
301
|
+
<p>Returns the value of attribute form_errors_on_selector.</p>
|
302
|
+
</div></span>
|
303
|
+
|
304
|
+
</li>
|
305
|
+
|
306
|
+
|
307
|
+
<li class="public ">
|
308
|
+
<span class="summary_signature">
|
309
|
+
|
310
|
+
<a href="#header_selector-class_method" title="header_selector (class method)">+ (Object) <strong>header_selector</strong> </a>
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
</span>
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
<span class="summary_desc"><div class='inline'>
|
328
|
+
<p>Returns the value of attribute header_selector.</p>
|
329
|
+
</div></span>
|
330
|
+
|
331
|
+
</li>
|
332
|
+
|
333
|
+
|
334
|
+
<li class="public ">
|
335
|
+
<span class="summary_signature">
|
336
|
+
|
337
|
+
<a href="#header_selector_type-class_method" title="header_selector_type (class method)">+ (Object) <strong>header_selector_type</strong> </a>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
</span>
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
<span class="summary_desc"><div class='inline'>
|
355
|
+
<p>Returns the value of attribute header_selector_type.</p>
|
356
|
+
</div></span>
|
357
|
+
|
358
|
+
</li>
|
359
|
+
|
360
|
+
|
361
|
+
<li class="public ">
|
362
|
+
<span class="summary_signature">
|
363
|
+
|
364
|
+
<a href="#image_selector-class_method" title="image_selector (class method)">+ (Object) <strong>image_selector</strong> </a>
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
</span>
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
<span class="summary_desc"><div class='inline'>
|
382
|
+
<p>Returns the value of attribute image_selector.</p>
|
383
|
+
</div></span>
|
384
|
+
|
385
|
+
</li>
|
386
|
+
|
387
|
+
|
388
|
+
<li class="public ">
|
389
|
+
<span class="summary_signature">
|
390
|
+
|
391
|
+
<a href="#image_selector_type-class_method" title="image_selector_type (class method)">+ (Object) <strong>image_selector_type</strong> </a>
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
</span>
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
<span class="summary_desc"><div class='inline'>
|
409
|
+
<p>Returns the value of attribute image_selector_type.</p>
|
410
|
+
</div></span>
|
411
|
+
|
412
|
+
</li>
|
413
|
+
|
414
|
+
|
415
|
+
<li class="public ">
|
416
|
+
<span class="summary_signature">
|
417
|
+
|
418
|
+
<a href="#table_row_selector-class_method" title="table_row_selector (class method)">+ (Object) <strong>table_row_selector</strong> </a>
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
</span>
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
<span class="summary_desc"><div class='inline'>
|
436
|
+
<p>Returns the value of attribute table_row_selector.</p>
|
437
|
+
</div></span>
|
438
|
+
|
439
|
+
</li>
|
440
|
+
|
441
|
+
|
442
|
+
</ul>
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
<h2>
|
449
|
+
Class Method Summary
|
450
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
451
|
+
</h2>
|
452
|
+
|
453
|
+
<ul class="summary">
|
454
|
+
|
455
|
+
<li class="public ">
|
456
|
+
<span class="summary_signature">
|
457
|
+
|
458
|
+
<a href="#configure-class_method" title="configure (class method)">+ (Object) <strong>configure</strong> {|_self| ... }</a>
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
</span>
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
<span class="summary_desc"><div class='inline'>
|
473
|
+
<p>Configure ElabsMatchers to suit your needs.</p>
|
474
|
+
</div></span>
|
475
|
+
|
476
|
+
</li>
|
477
|
+
|
478
|
+
|
479
|
+
<li class="public ">
|
480
|
+
<span class="summary_signature">
|
481
|
+
|
482
|
+
<a href="#use_default_configuration%21-class_method" title="use_default_configuration! (class method)">+ (Object) <strong>use_default_configuration!</strong> </a>
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
</span>
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
<span class="summary_desc"><div class='inline'>
|
497
|
+
<p>Reset Elabs matchers to use the default configuration.</p>
|
498
|
+
</div></span>
|
499
|
+
|
500
|
+
</li>
|
501
|
+
|
502
|
+
|
503
|
+
</ul>
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
<div id="class_attr_details" class="attr_details">
|
508
|
+
<h2>Class Attribute Details</h2>
|
509
|
+
|
510
|
+
|
511
|
+
<span id="attribute_selector=-class_method"></span>
|
512
|
+
<div class="method_details first">
|
513
|
+
<h3 class="signature first" id="attribute_selector-class_method">
|
514
|
+
|
515
|
+
+ (<tt>Object</tt>) <strong>attribute_selector</strong>
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
</h3><div class="docstring">
|
522
|
+
<div class="discussion">
|
523
|
+
|
524
|
+
<p>Returns the value of attribute attribute_selector</p>
|
525
|
+
|
526
|
+
|
527
|
+
</div>
|
528
|
+
</div>
|
529
|
+
<div class="tags">
|
530
|
+
|
531
|
+
|
532
|
+
</div><table class="source_code">
|
533
|
+
<tr>
|
534
|
+
<td>
|
535
|
+
<pre class="lines">
|
536
|
+
|
537
|
+
|
538
|
+
30
|
539
|
+
31
|
540
|
+
32</pre>
|
541
|
+
</td>
|
542
|
+
<td>
|
543
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 30</span>
|
544
|
+
|
545
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_attribute_selector'>attribute_selector</span>
|
546
|
+
<span class='ivar'>@attribute_selector</span>
|
547
|
+
<span class='kw'>end</span></pre>
|
548
|
+
</td>
|
549
|
+
</tr>
|
550
|
+
</table>
|
551
|
+
</div>
|
552
|
+
|
553
|
+
|
554
|
+
<span id="attribute_selector_type=-class_method"></span>
|
555
|
+
<div class="method_details ">
|
556
|
+
<h3 class="signature " id="attribute_selector_type-class_method">
|
557
|
+
|
558
|
+
+ (<tt>Object</tt>) <strong>attribute_selector_type</strong>
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
</h3><div class="docstring">
|
565
|
+
<div class="discussion">
|
566
|
+
|
567
|
+
<p>Returns the value of attribute attribute_selector_type</p>
|
568
|
+
|
569
|
+
|
570
|
+
</div>
|
571
|
+
</div>
|
572
|
+
<div class="tags">
|
573
|
+
|
574
|
+
|
575
|
+
</div><table class="source_code">
|
576
|
+
<tr>
|
577
|
+
<td>
|
578
|
+
<pre class="lines">
|
579
|
+
|
580
|
+
|
581
|
+
30
|
582
|
+
31
|
583
|
+
32</pre>
|
584
|
+
</td>
|
585
|
+
<td>
|
586
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 30</span>
|
587
|
+
|
588
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_attribute_selector_type'>attribute_selector_type</span>
|
589
|
+
<span class='ivar'>@attribute_selector_type</span>
|
590
|
+
<span class='kw'>end</span></pre>
|
591
|
+
</td>
|
592
|
+
</tr>
|
593
|
+
</table>
|
594
|
+
</div>
|
595
|
+
|
596
|
+
|
597
|
+
<span id="flash_alert_selector=-class_method"></span>
|
598
|
+
<div class="method_details ">
|
599
|
+
<h3 class="signature " id="flash_alert_selector-class_method">
|
600
|
+
|
601
|
+
+ (<tt>Object</tt>) <strong>flash_alert_selector</strong>
|
602
|
+
|
603
|
+
|
604
|
+
|
605
|
+
|
606
|
+
|
607
|
+
</h3><div class="docstring">
|
608
|
+
<div class="discussion">
|
609
|
+
|
610
|
+
<p>Returns the value of attribute flash_alert_selector</p>
|
611
|
+
|
612
|
+
|
613
|
+
</div>
|
614
|
+
</div>
|
615
|
+
<div class="tags">
|
616
|
+
|
617
|
+
|
618
|
+
</div><table class="source_code">
|
619
|
+
<tr>
|
620
|
+
<td>
|
621
|
+
<pre class="lines">
|
622
|
+
|
623
|
+
|
624
|
+
31
|
625
|
+
32
|
626
|
+
33</pre>
|
627
|
+
</td>
|
628
|
+
<td>
|
629
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 31</span>
|
630
|
+
|
631
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_flash_alert_selector'>flash_alert_selector</span>
|
632
|
+
<span class='ivar'>@flash_alert_selector</span>
|
633
|
+
<span class='kw'>end</span></pre>
|
634
|
+
</td>
|
635
|
+
</tr>
|
636
|
+
</table>
|
637
|
+
</div>
|
638
|
+
|
639
|
+
|
640
|
+
<span id="flash_alert_selector_type=-class_method"></span>
|
641
|
+
<div class="method_details ">
|
642
|
+
<h3 class="signature " id="flash_alert_selector_type-class_method">
|
643
|
+
|
644
|
+
+ (<tt>Object</tt>) <strong>flash_alert_selector_type</strong>
|
645
|
+
|
646
|
+
|
647
|
+
|
648
|
+
|
649
|
+
|
650
|
+
</h3><div class="docstring">
|
651
|
+
<div class="discussion">
|
652
|
+
|
653
|
+
<p>Returns the value of attribute flash_alert_selector_type</p>
|
654
|
+
|
655
|
+
|
656
|
+
</div>
|
657
|
+
</div>
|
658
|
+
<div class="tags">
|
659
|
+
|
660
|
+
|
661
|
+
</div><table class="source_code">
|
662
|
+
<tr>
|
663
|
+
<td>
|
664
|
+
<pre class="lines">
|
665
|
+
|
666
|
+
|
667
|
+
31
|
668
|
+
32
|
669
|
+
33</pre>
|
670
|
+
</td>
|
671
|
+
<td>
|
672
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 31</span>
|
673
|
+
|
674
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_flash_alert_selector_type'>flash_alert_selector_type</span>
|
675
|
+
<span class='ivar'>@flash_alert_selector_type</span>
|
676
|
+
<span class='kw'>end</span></pre>
|
677
|
+
</td>
|
678
|
+
</tr>
|
679
|
+
</table>
|
680
|
+
</div>
|
681
|
+
|
682
|
+
|
683
|
+
<span id="flash_notice_selector=-class_method"></span>
|
684
|
+
<div class="method_details ">
|
685
|
+
<h3 class="signature " id="flash_notice_selector-class_method">
|
686
|
+
|
687
|
+
+ (<tt>Object</tt>) <strong>flash_notice_selector</strong>
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
|
692
|
+
|
693
|
+
</h3><div class="docstring">
|
694
|
+
<div class="discussion">
|
695
|
+
|
696
|
+
<p>Returns the value of attribute flash_notice_selector</p>
|
697
|
+
|
698
|
+
|
699
|
+
</div>
|
700
|
+
</div>
|
701
|
+
<div class="tags">
|
702
|
+
|
703
|
+
|
704
|
+
</div><table class="source_code">
|
705
|
+
<tr>
|
706
|
+
<td>
|
707
|
+
<pre class="lines">
|
708
|
+
|
709
|
+
|
710
|
+
31
|
711
|
+
32
|
712
|
+
33</pre>
|
713
|
+
</td>
|
714
|
+
<td>
|
715
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 31</span>
|
716
|
+
|
717
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_flash_notice_selector'>flash_notice_selector</span>
|
718
|
+
<span class='ivar'>@flash_notice_selector</span>
|
719
|
+
<span class='kw'>end</span></pre>
|
720
|
+
</td>
|
721
|
+
</tr>
|
722
|
+
</table>
|
723
|
+
</div>
|
724
|
+
|
725
|
+
|
726
|
+
<span id="flash_notice_selector_type=-class_method"></span>
|
727
|
+
<div class="method_details ">
|
728
|
+
<h3 class="signature " id="flash_notice_selector_type-class_method">
|
729
|
+
|
730
|
+
+ (<tt>Object</tt>) <strong>flash_notice_selector_type</strong>
|
731
|
+
|
732
|
+
|
733
|
+
|
734
|
+
|
735
|
+
|
736
|
+
</h3><div class="docstring">
|
737
|
+
<div class="discussion">
|
738
|
+
|
739
|
+
<p>Returns the value of attribute flash_notice_selector_type</p>
|
740
|
+
|
741
|
+
|
742
|
+
</div>
|
743
|
+
</div>
|
744
|
+
<div class="tags">
|
745
|
+
|
746
|
+
|
747
|
+
</div><table class="source_code">
|
748
|
+
<tr>
|
749
|
+
<td>
|
750
|
+
<pre class="lines">
|
751
|
+
|
752
|
+
|
753
|
+
31
|
754
|
+
32
|
755
|
+
33</pre>
|
756
|
+
</td>
|
757
|
+
<td>
|
758
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 31</span>
|
759
|
+
|
760
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_flash_notice_selector_type'>flash_notice_selector_type</span>
|
761
|
+
<span class='ivar'>@flash_notice_selector_type</span>
|
762
|
+
<span class='kw'>end</span></pre>
|
763
|
+
</td>
|
764
|
+
</tr>
|
765
|
+
</table>
|
766
|
+
</div>
|
767
|
+
|
768
|
+
|
769
|
+
<span id="form_errors_on_selector=-class_method"></span>
|
770
|
+
<div class="method_details ">
|
771
|
+
<h3 class="signature " id="form_errors_on_selector-class_method">
|
772
|
+
|
773
|
+
+ (<tt>Object</tt>) <strong>form_errors_on_selector</strong>
|
774
|
+
|
775
|
+
|
776
|
+
|
777
|
+
|
778
|
+
|
779
|
+
</h3><div class="docstring">
|
780
|
+
<div class="discussion">
|
781
|
+
|
782
|
+
<p>Returns the value of attribute form_errors_on_selector</p>
|
783
|
+
|
784
|
+
|
785
|
+
</div>
|
786
|
+
</div>
|
787
|
+
<div class="tags">
|
788
|
+
|
789
|
+
|
790
|
+
</div><table class="source_code">
|
791
|
+
<tr>
|
792
|
+
<td>
|
793
|
+
<pre class="lines">
|
794
|
+
|
795
|
+
|
796
|
+
32
|
797
|
+
33
|
798
|
+
34</pre>
|
799
|
+
</td>
|
800
|
+
<td>
|
801
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 32</span>
|
802
|
+
|
803
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_form_errors_on_selector'>form_errors_on_selector</span>
|
804
|
+
<span class='ivar'>@form_errors_on_selector</span>
|
805
|
+
<span class='kw'>end</span></pre>
|
806
|
+
</td>
|
807
|
+
</tr>
|
808
|
+
</table>
|
809
|
+
</div>
|
810
|
+
|
811
|
+
|
812
|
+
<span id="header_selector=-class_method"></span>
|
813
|
+
<div class="method_details ">
|
814
|
+
<h3 class="signature " id="header_selector-class_method">
|
815
|
+
|
816
|
+
+ (<tt>Object</tt>) <strong>header_selector</strong>
|
817
|
+
|
818
|
+
|
819
|
+
|
820
|
+
|
821
|
+
|
822
|
+
</h3><div class="docstring">
|
823
|
+
<div class="discussion">
|
824
|
+
|
825
|
+
<p>Returns the value of attribute header_selector</p>
|
826
|
+
|
827
|
+
|
828
|
+
</div>
|
829
|
+
</div>
|
830
|
+
<div class="tags">
|
831
|
+
|
832
|
+
|
833
|
+
</div><table class="source_code">
|
834
|
+
<tr>
|
835
|
+
<td>
|
836
|
+
<pre class="lines">
|
837
|
+
|
838
|
+
|
839
|
+
29
|
840
|
+
30
|
841
|
+
31</pre>
|
842
|
+
</td>
|
843
|
+
<td>
|
844
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 29</span>
|
845
|
+
|
846
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_header_selector'>header_selector</span>
|
847
|
+
<span class='ivar'>@header_selector</span>
|
848
|
+
<span class='kw'>end</span></pre>
|
849
|
+
</td>
|
850
|
+
</tr>
|
851
|
+
</table>
|
852
|
+
</div>
|
853
|
+
|
854
|
+
|
855
|
+
<span id="header_selector_type=-class_method"></span>
|
856
|
+
<div class="method_details ">
|
857
|
+
<h3 class="signature " id="header_selector_type-class_method">
|
858
|
+
|
859
|
+
+ (<tt>Object</tt>) <strong>header_selector_type</strong>
|
860
|
+
|
861
|
+
|
862
|
+
|
863
|
+
|
864
|
+
|
865
|
+
</h3><div class="docstring">
|
866
|
+
<div class="discussion">
|
867
|
+
|
868
|
+
<p>Returns the value of attribute header_selector_type</p>
|
869
|
+
|
870
|
+
|
871
|
+
</div>
|
872
|
+
</div>
|
873
|
+
<div class="tags">
|
874
|
+
|
875
|
+
|
876
|
+
</div><table class="source_code">
|
877
|
+
<tr>
|
878
|
+
<td>
|
879
|
+
<pre class="lines">
|
880
|
+
|
881
|
+
|
882
|
+
29
|
883
|
+
30
|
884
|
+
31</pre>
|
885
|
+
</td>
|
886
|
+
<td>
|
887
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 29</span>
|
888
|
+
|
889
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_header_selector_type'>header_selector_type</span>
|
890
|
+
<span class='ivar'>@header_selector_type</span>
|
891
|
+
<span class='kw'>end</span></pre>
|
892
|
+
</td>
|
893
|
+
</tr>
|
894
|
+
</table>
|
895
|
+
</div>
|
896
|
+
|
897
|
+
|
898
|
+
<span id="image_selector=-class_method"></span>
|
899
|
+
<div class="method_details ">
|
900
|
+
<h3 class="signature " id="image_selector-class_method">
|
901
|
+
|
902
|
+
+ (<tt>Object</tt>) <strong>image_selector</strong>
|
903
|
+
|
904
|
+
|
905
|
+
|
906
|
+
|
907
|
+
|
908
|
+
</h3><div class="docstring">
|
909
|
+
<div class="discussion">
|
910
|
+
|
911
|
+
<p>Returns the value of attribute image_selector</p>
|
912
|
+
|
913
|
+
|
914
|
+
</div>
|
915
|
+
</div>
|
916
|
+
<div class="tags">
|
917
|
+
|
918
|
+
|
919
|
+
</div><table class="source_code">
|
920
|
+
<tr>
|
921
|
+
<td>
|
922
|
+
<pre class="lines">
|
923
|
+
|
924
|
+
|
925
|
+
33
|
926
|
+
34
|
927
|
+
35</pre>
|
928
|
+
</td>
|
929
|
+
<td>
|
930
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 33</span>
|
931
|
+
|
932
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_image_selector'>image_selector</span>
|
933
|
+
<span class='ivar'>@image_selector</span>
|
934
|
+
<span class='kw'>end</span></pre>
|
935
|
+
</td>
|
936
|
+
</tr>
|
937
|
+
</table>
|
938
|
+
</div>
|
939
|
+
|
940
|
+
|
941
|
+
<span id="image_selector_type=-class_method"></span>
|
942
|
+
<div class="method_details ">
|
943
|
+
<h3 class="signature " id="image_selector_type-class_method">
|
944
|
+
|
945
|
+
+ (<tt>Object</tt>) <strong>image_selector_type</strong>
|
946
|
+
|
947
|
+
|
948
|
+
|
949
|
+
|
950
|
+
|
951
|
+
</h3><div class="docstring">
|
952
|
+
<div class="discussion">
|
953
|
+
|
954
|
+
<p>Returns the value of attribute image_selector_type</p>
|
955
|
+
|
956
|
+
|
957
|
+
</div>
|
958
|
+
</div>
|
959
|
+
<div class="tags">
|
960
|
+
|
961
|
+
|
962
|
+
</div><table class="source_code">
|
963
|
+
<tr>
|
964
|
+
<td>
|
965
|
+
<pre class="lines">
|
966
|
+
|
967
|
+
|
968
|
+
33
|
969
|
+
34
|
970
|
+
35</pre>
|
971
|
+
</td>
|
972
|
+
<td>
|
973
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 33</span>
|
974
|
+
|
975
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_image_selector_type'>image_selector_type</span>
|
976
|
+
<span class='ivar'>@image_selector_type</span>
|
977
|
+
<span class='kw'>end</span></pre>
|
978
|
+
</td>
|
979
|
+
</tr>
|
980
|
+
</table>
|
981
|
+
</div>
|
982
|
+
|
983
|
+
|
984
|
+
<span id="table_row_selector=-class_method"></span>
|
985
|
+
<div class="method_details ">
|
986
|
+
<h3 class="signature " id="table_row_selector-class_method">
|
987
|
+
|
988
|
+
+ (<tt>Object</tt>) <strong>table_row_selector</strong>
|
989
|
+
|
990
|
+
|
991
|
+
|
992
|
+
|
993
|
+
|
994
|
+
</h3><div class="docstring">
|
995
|
+
<div class="discussion">
|
996
|
+
|
997
|
+
<p>Returns the value of attribute table_row_selector</p>
|
998
|
+
|
999
|
+
|
1000
|
+
</div>
|
1001
|
+
</div>
|
1002
|
+
<div class="tags">
|
1003
|
+
|
1004
|
+
|
1005
|
+
</div><table class="source_code">
|
1006
|
+
<tr>
|
1007
|
+
<td>
|
1008
|
+
<pre class="lines">
|
1009
|
+
|
1010
|
+
|
1011
|
+
34
|
1012
|
+
35
|
1013
|
+
36</pre>
|
1014
|
+
</td>
|
1015
|
+
<td>
|
1016
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 34</span>
|
1017
|
+
|
1018
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_table_row_selector'>table_row_selector</span>
|
1019
|
+
<span class='ivar'>@table_row_selector</span>
|
1020
|
+
<span class='kw'>end</span></pre>
|
1021
|
+
</td>
|
1022
|
+
</tr>
|
1023
|
+
</table>
|
1024
|
+
</div>
|
1025
|
+
|
1026
|
+
</div>
|
1027
|
+
|
1028
|
+
|
1029
|
+
<div id="class_method_details" class="method_details_list">
|
1030
|
+
<h2>Class Method Details</h2>
|
1031
|
+
|
1032
|
+
|
1033
|
+
<div class="method_details first">
|
1034
|
+
<h3 class="signature first" id="configure-class_method">
|
1035
|
+
|
1036
|
+
+ (<tt>Object</tt>) <strong>configure</strong> {|_self| ... }
|
1037
|
+
|
1038
|
+
|
1039
|
+
|
1040
|
+
|
1041
|
+
|
1042
|
+
</h3><div class="docstring">
|
1043
|
+
<div class="discussion">
|
1044
|
+
|
1045
|
+
<p>Configure ElabsMatchers to suit your needs. The spec/spec_helper.rb file is
|
1046
|
+
a good place to put your configurations in.</p>
|
1047
|
+
|
1048
|
+
<pre class="code ruby"><code><span class='const'>ElabsMatchers</span><span class='period'>.</span><span class='id identifier rubyid_configure'>configure</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
|
1049
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_header_selector'>header_selector</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>//h1</span><span class='tstring_end'>"</span></span>
|
1050
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_header_selector_type'>header_selector_type</span> <span class='op'>=</span> <span class='symbol'>:xpath</span>
|
1051
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_image_selector'>image_selector</span> <span class='op'>=</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_src'>src</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>img[src='</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_src'>src</span><span class='rbrace'>}</span><span class='tstring_content'>']</span><span class='tstring_end'>"</span></span> <span class='rbrace'>}</span>
|
1052
|
+
<span class='kw'>end</span></code></pre>
|
1053
|
+
|
1054
|
+
<h3>Configurable options</h3>
|
1055
|
+
<dl class="rdoc-list"><dt>header_selctor = String</dt>
|
1056
|
+
<dd>
|
1057
|
+
<p>The selector to use when finding header tags (Default: "h1,h2")</p>
|
1058
|
+
</dd><dt>header_selector_type = Symbol</dt>
|
1059
|
+
<dd>
|
1060
|
+
<p>The type of selector to use, :css or :xpath (Default: :css)</p>
|
1061
|
+
</dd><dt>image_selctor = lamda</dt>
|
1062
|
+
<dd>
|
1063
|
+
<p>The selector to use when finding images (Default: see matcher)</p>
|
1064
|
+
</dd><dt>image_selector_type = Symbol</dt>
|
1065
|
+
<dd>
|
1066
|
+
<p>The type of selector to use, :css or :xpath (Default: :css)</p>
|
1067
|
+
</dd><dt>attribute_selector = lambda</dt>
|
1068
|
+
<dd>
|
1069
|
+
<p>A lambda that takes label and value as arguments and return a selector
|
1070
|
+
(Default: see matcher)</p>
|
1071
|
+
</dd><dt>attribute_selector_type = Symbol</dt>
|
1072
|
+
<dd>
|
1073
|
+
<p>The type of selector to use, :css or :xpath (Default: :xpath)</p>
|
1074
|
+
</dd><dt>flash_notice_selector = String</dt>
|
1075
|
+
<dd>
|
1076
|
+
<p>The selector to use when finding the flash notice (Default: "#flash.notice,
|
1077
|
+
#flash .notice, .flash.notice")</p>
|
1078
|
+
</dd><dt>flash_notice_selector_type = Symbol</dt>
|
1079
|
+
<dd>
|
1080
|
+
<p>The type of selector to use, :css or :xpath (Default: :css)</p>
|
1081
|
+
</dd><dt>flash_alert_selector = String</dt>
|
1082
|
+
<dd>
|
1083
|
+
<p>The selector to use when finding the flash alert (Default: "#flash.alert,
|
1084
|
+
#flash .alert, .flash.alert")</p>
|
1085
|
+
</dd><dt>flash_alert_selector_type = Symbol</dt>
|
1086
|
+
<dd>
|
1087
|
+
<p>The type of selector to use, :css or :xpath (Default: :css)</p>
|
1088
|
+
</dd><dt>form_errors_on_selector = String</dt>
|
1089
|
+
<dd>
|
1090
|
+
<p>A xpath expression to be used when finding associated error notices
|
1091
|
+
(Default: see matcher)</p>
|
1092
|
+
</dd><dt>table_row_selector = lambda</dt>
|
1093
|
+
<dd>
|
1094
|
+
<p>A lambda that takes table row return a selector (Default: see matcher)</p>
|
1095
|
+
</dd></dl>
|
1096
|
+
|
1097
|
+
|
1098
|
+
</div>
|
1099
|
+
</div>
|
1100
|
+
<div class="tags">
|
1101
|
+
|
1102
|
+
<p class="tag_title">Yields:</p>
|
1103
|
+
<ul class="yield">
|
1104
|
+
|
1105
|
+
<li>
|
1106
|
+
|
1107
|
+
|
1108
|
+
<span class='type'>(<tt>_self</tt>)</span>
|
1109
|
+
|
1110
|
+
|
1111
|
+
|
1112
|
+
</li>
|
1113
|
+
|
1114
|
+
</ul>
|
1115
|
+
<p class="tag_title">Yield Parameters:</p>
|
1116
|
+
<ul class="yieldparam">
|
1117
|
+
|
1118
|
+
<li>
|
1119
|
+
|
1120
|
+
<span class='name'>_self</span>
|
1121
|
+
|
1122
|
+
|
1123
|
+
<span class='type'>(<tt><span class='object_link'><a href="" title="ElabsMatchers (module)">ElabsMatchers</a></span></tt>)</span>
|
1124
|
+
|
1125
|
+
|
1126
|
+
|
1127
|
+
—
|
1128
|
+
<div class='inline'>
|
1129
|
+
<p>the object that the method was called on</p>
|
1130
|
+
</div>
|
1131
|
+
|
1132
|
+
</li>
|
1133
|
+
|
1134
|
+
</ul>
|
1135
|
+
|
1136
|
+
</div><table class="source_code">
|
1137
|
+
<tr>
|
1138
|
+
<td>
|
1139
|
+
<pre class="lines">
|
1140
|
+
|
1141
|
+
|
1142
|
+
67
|
1143
|
+
68
|
1144
|
+
69</pre>
|
1145
|
+
</td>
|
1146
|
+
<td>
|
1147
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 67</span>
|
1148
|
+
|
1149
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_configure'>configure</span>
|
1150
|
+
<span class='kw'>yield</span> <span class='kw'>self</span>
|
1151
|
+
<span class='kw'>end</span></pre>
|
1152
|
+
</td>
|
1153
|
+
</tr>
|
1154
|
+
</table>
|
1155
|
+
</div>
|
1156
|
+
|
1157
|
+
<div class="method_details ">
|
1158
|
+
<h3 class="signature " id="use_default_configuration!-class_method">
|
1159
|
+
|
1160
|
+
+ (<tt>Object</tt>) <strong>use_default_configuration!</strong>
|
1161
|
+
|
1162
|
+
|
1163
|
+
|
1164
|
+
|
1165
|
+
|
1166
|
+
</h3><div class="docstring">
|
1167
|
+
<div class="discussion">
|
1168
|
+
|
1169
|
+
<p>Reset Elabs matchers to use the default configuration.</p>
|
1170
|
+
|
1171
|
+
|
1172
|
+
</div>
|
1173
|
+
</div>
|
1174
|
+
<div class="tags">
|
1175
|
+
|
1176
|
+
|
1177
|
+
</div><table class="source_code">
|
1178
|
+
<tr>
|
1179
|
+
<td>
|
1180
|
+
<pre class="lines">
|
1181
|
+
|
1182
|
+
|
1183
|
+
75
|
1184
|
+
76
|
1185
|
+
77
|
1186
|
+
78
|
1187
|
+
79
|
1188
|
+
80
|
1189
|
+
81
|
1190
|
+
82
|
1191
|
+
83
|
1192
|
+
84
|
1193
|
+
85
|
1194
|
+
86
|
1195
|
+
87
|
1196
|
+
88
|
1197
|
+
89
|
1198
|
+
90
|
1199
|
+
91
|
1200
|
+
92
|
1201
|
+
93
|
1202
|
+
94
|
1203
|
+
95</pre>
|
1204
|
+
</td>
|
1205
|
+
<td>
|
1206
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers.rb', line 75</span>
|
1207
|
+
|
1208
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_use_default_configuration!'>use_default_configuration!</span>
|
1209
|
+
<span class='id identifier rubyid_configure'>configure</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_config'>config</span><span class='op'>|</span>
|
1210
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_header_selector'>header_selector</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>h1,h2</span><span class='tstring_end'>"</span></span>
|
1211
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_header_selector_type'>header_selector_type</span> <span class='op'>=</span> <span class='symbol'>:css</span>
|
1212
|
+
|
1213
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_image_selector'>image_selector</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1214
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_image_selector_type'>image_selector_type</span> <span class='op'>=</span> <span class='symbol'>:css</span>
|
1215
|
+
|
1216
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_attribute_selector'>attribute_selector</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1217
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_attribute_selector_type'>attribute_selector_type</span> <span class='op'>=</span> <span class='symbol'>:xpath</span>
|
1218
|
+
|
1219
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_flash_notice_selector'>flash_notice_selector</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>#flash.notice, #flash .notice, .flash.notice</span><span class='tstring_end'>"</span></span>
|
1220
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_flash_notice_selector_type'>flash_notice_selector_type</span> <span class='op'>=</span> <span class='symbol'>:css</span>
|
1221
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_flash_alert_selector'>flash_alert_selector</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>#flash.alert, #flash .alert, .flash.alert</span><span class='tstring_end'>"</span></span>
|
1222
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_flash_alert_selector_type'>flash_alert_selector_type</span> <span class='op'>=</span> <span class='symbol'>:css</span>
|
1223
|
+
|
1224
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_form_errors_on_selector'>form_errors_on_selector</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1225
|
+
|
1226
|
+
<span class='id identifier rubyid_config'>config</span><span class='period'>.</span><span class='id identifier rubyid_table_row_selector'>table_row_selector</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1227
|
+
<span class='kw'>end</span>
|
1228
|
+
<span class='kw'>end</span></pre>
|
1229
|
+
</td>
|
1230
|
+
</tr>
|
1231
|
+
</table>
|
1232
|
+
</div>
|
1233
|
+
|
1234
|
+
</div>
|
1235
|
+
|
1236
|
+
</div>
|
1237
|
+
|
115
1238
|
<div id="footer">
|
116
|
-
Generated on
|
1239
|
+
Generated on Wed Sep 19 15:04:26 2012 by
|
117
1240
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
118
|
-
0.
|
1241
|
+
0.8.2.1 (ruby-1.9.3).
|
119
1242
|
</div>
|
120
1243
|
|
121
1244
|
</body>
|