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,23 +1,22 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Module: ElabsMatchers::Matchers::HaveImage
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "ElabsMatchers::Matchers::HaveImage";
|
19
19
|
relpath = '../../';
|
20
|
-
framesUrl = "../../frames.html#!" + escape(window.location.href);
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,61 +27,61 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../_index.html">Index (H)</a> »
|
35
40
|
<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
41
|
»
|
37
42
|
<span class="title">HaveImage</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
63
61
|
|
64
|
-
|
65
|
-
|
66
|
-
<div id="content"><h1>Module: ElabsMatchers::Matchers::HaveImage
|
62
|
+
<div id="content"><h1>Module: ElabsMatchers::Matchers::HaveImage
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
71
69
|
|
72
|
-
<dl class="box">
|
73
70
|
|
74
71
|
|
75
|
-
|
76
72
|
|
77
|
-
|
78
73
|
|
79
74
|
|
75
|
+
|
80
76
|
|
81
|
-
|
82
|
-
|
77
|
+
|
78
|
+
|
79
|
+
<dl>
|
80
|
+
<dt>Defined in:</dt>
|
81
|
+
<dd>lib/elabs_matchers/matchers/have_image.rb</dd>
|
82
|
+
</dl>
|
83
83
|
|
84
|
-
</
|
85
|
-
<div class="clear"></div>
|
84
|
+
</div>
|
86
85
|
|
87
86
|
<h2>Defined Under Namespace</h2>
|
88
87
|
<p class="children">
|
@@ -104,7 +103,7 @@
|
|
104
103
|
|
105
104
|
<h2>
|
106
105
|
Instance Method Summary
|
107
|
-
<small
|
106
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
108
107
|
</h2>
|
109
108
|
|
110
109
|
<ul class="summary">
|
@@ -112,7 +111,7 @@
|
|
112
111
|
<li class="public ">
|
113
112
|
<span class="summary_signature">
|
114
113
|
|
115
|
-
<a href="#have_image-instance_method" title="#have_image (instance method)"
|
114
|
+
<a href="#have_image-instance_method" title="#have_image (instance method)">#<strong>have_image</strong>(value) ⇒ Object </a>
|
116
115
|
|
117
116
|
|
118
117
|
|
@@ -145,7 +144,7 @@
|
|
145
144
|
<div class="method_details first">
|
146
145
|
<h3 class="signature first" id="have_image-instance_method">
|
147
146
|
|
148
|
-
|
147
|
+
#<strong>have_image</strong>(value) ⇒ <tt>Object</tt>
|
149
148
|
|
150
149
|
|
151
150
|
|
@@ -156,7 +155,7 @@
|
|
156
155
|
|
157
156
|
<p>Asserts if the supplied image exists or not</p>
|
158
157
|
|
159
|
-
<p>Example: page.should have_image(
|
158
|
+
<p>Example: page.should have_image(“Logo”)</p>
|
160
159
|
|
161
160
|
|
162
161
|
</div>
|
@@ -190,15 +189,15 @@
|
|
190
189
|
<pre class="lines">
|
191
190
|
|
192
191
|
|
193
|
-
|
194
|
-
|
195
|
-
|
192
|
+
68
|
193
|
+
69
|
194
|
+
70</pre>
|
196
195
|
</td>
|
197
196
|
<td>
|
198
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_image.rb', line
|
197
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/have_image.rb', line 68</span>
|
199
198
|
|
200
199
|
<span class='kw'>def</span> <span class='id identifier rubyid_have_image'>have_image</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
201
|
-
<span class='const'>HaveImageMatcher</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
200
|
+
<span class='const'><span class='object_link'><a href="HaveImage/HaveImageMatcher.html" title="ElabsMatchers::Matchers::HaveImage::HaveImageMatcher (class)">HaveImageMatcher</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
|
202
201
|
<span class='kw'>end</span></pre>
|
203
202
|
</td>
|
204
203
|
</tr>
|
@@ -209,11 +208,12 @@
|
|
209
208
|
|
210
209
|
</div>
|
211
210
|
|
212
|
-
|
213
|
-
Generated on Wed
|
211
|
+
<div id="footer">
|
212
|
+
Generated on Wed Mar 14 09:56:36 2018 by
|
214
213
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
215
|
-
0.
|
214
|
+
0.9.12 (ruby-2.4.1).
|
216
215
|
</div>
|
217
216
|
|
217
|
+
</div>
|
218
218
|
</body>
|
219
219
|
</html>
|
@@ -1,23 +1,22 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
6
|
<title>
|
7
7
|
Class: ElabsMatchers::Matchers::OnlyInclude::OnlyIncludeMatcher
|
8
8
|
|
9
|
-
— Documentation by YARD 0.
|
9
|
+
— Documentation by YARD 0.9.12
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="../../../css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="../../../css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
16
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
|
-
|
18
|
+
pathId = "ElabsMatchers::Matchers::OnlyInclude::OnlyIncludeMatcher";
|
19
19
|
relpath = '../../../';
|
20
|
-
framesUrl = "../../../frames.html#!" + escape(window.location.href);
|
21
20
|
</script>
|
22
21
|
|
23
22
|
|
@@ -28,51 +27,48 @@
|
|
28
27
|
|
29
28
|
</head>
|
30
29
|
<body>
|
31
|
-
<div
|
32
|
-
<
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
33
38
|
|
34
39
|
<a href="../../../_index.html">Index (O)</a> »
|
35
40
|
<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="../OnlyInclude.html" title="ElabsMatchers::Matchers::OnlyInclude (module)">OnlyInclude</a></span></span>
|
36
41
|
»
|
37
42
|
<span class="title">OnlyIncludeMatcher</span>
|
38
43
|
|
39
|
-
|
40
|
-
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
44
|
</div>
|
42
45
|
|
43
|
-
|
46
|
+
<div id="search">
|
44
47
|
|
45
48
|
<a class="full_list_link" id="class_list_link"
|
46
49
|
href="../../../class_list.html">
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
</a>
|
54
|
-
|
55
|
-
<a class="full_list_link" id="file_list_link"
|
56
|
-
href="../../../file_list.html">
|
57
|
-
File List
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
58
56
|
</a>
|
59
57
|
|
60
58
|
</div>
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<iframe id="search_frame"></iframe>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
65
61
|
|
66
|
-
|
62
|
+
<div id="content"><h1>Class: ElabsMatchers::Matchers::OnlyInclude::OnlyIncludeMatcher
|
67
63
|
|
68
64
|
|
69
65
|
|
70
66
|
</h1>
|
71
|
-
|
72
|
-
<dl class="box">
|
67
|
+
<div class="box_info">
|
73
68
|
|
74
|
-
|
75
|
-
<
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
76
72
|
<span class="inheritName">Struct</span>
|
77
73
|
|
78
74
|
<ul class="fullTree">
|
@@ -85,33 +81,37 @@
|
|
85
81
|
</ul>
|
86
82
|
<a href="#" class="inheritanceTree">show all</a>
|
87
83
|
|
88
|
-
|
89
|
-
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
90
88
|
|
91
89
|
|
92
|
-
|
93
90
|
|
94
|
-
|
95
91
|
|
96
92
|
|
93
|
+
|
94
|
+
|
95
|
+
|
97
96
|
|
98
|
-
|
99
|
-
<
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/elabs_matchers/matchers/only_include.rb</dd>
|
100
|
+
</dl>
|
100
101
|
|
101
|
-
</
|
102
|
-
<div class="clear"></div>
|
102
|
+
</div>
|
103
103
|
|
104
104
|
|
105
105
|
|
106
106
|
|
107
107
|
|
108
|
-
<h2>Instance Attribute Summary <small
|
108
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
109
109
|
<ul class="summary">
|
110
110
|
|
111
111
|
<li class="public ">
|
112
112
|
<span class="summary_signature">
|
113
113
|
|
114
|
-
<a href="#actual-instance_method" title="#actual (instance method)"
|
114
|
+
<a href="#actual-instance_method" title="#actual (instance method)">#<strong>actual</strong> ⇒ Object </a>
|
115
115
|
|
116
116
|
|
117
117
|
|
@@ -140,7 +140,7 @@
|
|
140
140
|
<li class="public ">
|
141
141
|
<span class="summary_signature">
|
142
142
|
|
143
|
-
<a href="#elements-instance_method" title="#elements (instance method)"
|
143
|
+
<a href="#elements-instance_method" title="#elements (instance method)">#<strong>elements</strong> ⇒ Object </a>
|
144
144
|
|
145
145
|
|
146
146
|
|
@@ -172,7 +172,7 @@
|
|
172
172
|
|
173
173
|
<h2>
|
174
174
|
Instance Method Summary
|
175
|
-
<small
|
175
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
176
176
|
</h2>
|
177
177
|
|
178
178
|
<ul class="summary">
|
@@ -180,10 +180,12 @@
|
|
180
180
|
<li class="public ">
|
181
181
|
<span class="summary_signature">
|
182
182
|
|
183
|
-
<a href="#
|
183
|
+
<a href="#failure_message-instance_method" title="#failure_message (instance method)">#<strong>failure_message</strong> ⇒ Object </a>
|
184
184
|
|
185
185
|
|
186
186
|
|
187
|
+
(also: #failure_message_for_should)
|
188
|
+
|
187
189
|
</span>
|
188
190
|
|
189
191
|
|
@@ -202,10 +204,12 @@
|
|
202
204
|
<li class="public ">
|
203
205
|
<span class="summary_signature">
|
204
206
|
|
205
|
-
<a href="#
|
207
|
+
<a href="#failure_message_when_negated-instance_method" title="#failure_message_when_negated (instance method)">#<strong>failure_message_when_negated</strong> ⇒ Object </a>
|
206
208
|
|
207
209
|
|
208
210
|
|
211
|
+
(also: #failure_message_for_should_not)
|
212
|
+
|
209
213
|
</span>
|
210
214
|
|
211
215
|
|
@@ -224,7 +228,7 @@
|
|
224
228
|
<li class="public ">
|
225
229
|
<span class="summary_signature">
|
226
230
|
|
227
|
-
<a href="#matches%3F-instance_method" title="#matches? (instance method)"
|
231
|
+
<a href="#matches%3F-instance_method" title="#matches? (instance method)">#<strong>matches?</strong>(actual) ⇒ Boolean </a>
|
228
232
|
|
229
233
|
|
230
234
|
|
@@ -256,7 +260,7 @@
|
|
256
260
|
<div class="method_details first">
|
257
261
|
<h3 class="signature first" id="actual-instance_method">
|
258
262
|
|
259
|
-
|
263
|
+
#<strong>actual</strong> ⇒ <tt>Object</tt> <span class="extras">(readonly)</span>
|
260
264
|
|
261
265
|
|
262
266
|
|
@@ -299,7 +303,7 @@
|
|
299
303
|
<div class="method_details ">
|
300
304
|
<h3 class="signature " id="elements-instance_method">
|
301
305
|
|
302
|
-
|
306
|
+
#<strong>elements</strong> ⇒ <tt>Object</tt>
|
303
307
|
|
304
308
|
|
305
309
|
|
@@ -363,12 +367,16 @@
|
|
363
367
|
|
364
368
|
|
365
369
|
<div class="method_details first">
|
366
|
-
<h3 class="signature first" id="
|
370
|
+
<h3 class="signature first" id="failure_message-instance_method">
|
367
371
|
|
368
|
-
|
372
|
+
#<strong>failure_message</strong> ⇒ <tt>Object</tt>
|
369
373
|
|
370
374
|
|
371
375
|
|
376
|
+
<span class="aliases">Also known as:
|
377
|
+
<span class="names"><span id='failure_message_for_should-instance_method'>failure_message_for_should</span></span>
|
378
|
+
</span>
|
379
|
+
|
372
380
|
|
373
381
|
|
374
382
|
</h3><table class="source_code">
|
@@ -384,8 +392,8 @@
|
|
384
392
|
<td>
|
385
393
|
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/only_include.rb', line 16</span>
|
386
394
|
|
387
|
-
<span class='kw'>def</span> <span class='id identifier
|
388
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_actual'>actual</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='
|
395
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_failure_message'>failure_message</span>
|
396
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_actual'>actual</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> to only include </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_elements'>elements</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span>
|
389
397
|
<span class='kw'>end</span></pre>
|
390
398
|
</td>
|
391
399
|
</tr>
|
@@ -393,12 +401,16 @@
|
|
393
401
|
</div>
|
394
402
|
|
395
403
|
<div class="method_details ">
|
396
|
-
<h3 class="signature " id="
|
404
|
+
<h3 class="signature " id="failure_message_when_negated-instance_method">
|
397
405
|
|
398
|
-
|
406
|
+
#<strong>failure_message_when_negated</strong> ⇒ <tt>Object</tt>
|
399
407
|
|
400
408
|
|
401
409
|
|
410
|
+
<span class="aliases">Also known as:
|
411
|
+
<span class="names"><span id='failure_message_for_should_not-instance_method'>failure_message_for_should_not</span></span>
|
412
|
+
</span>
|
413
|
+
|
402
414
|
|
403
415
|
|
404
416
|
</h3><table class="source_code">
|
@@ -407,15 +419,15 @@
|
|
407
419
|
<pre class="lines">
|
408
420
|
|
409
421
|
|
410
|
-
20
|
411
422
|
21
|
412
|
-
22
|
423
|
+
22
|
424
|
+
23</pre>
|
413
425
|
</td>
|
414
426
|
<td>
|
415
|
-
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/only_include.rb', line
|
427
|
+
<pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/only_include.rb', line 21</span>
|
416
428
|
|
417
|
-
<span class='kw'>def</span> <span class='id identifier
|
418
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_actual'>actual</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='
|
429
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_failure_message_when_negated'>failure_message_when_negated</span>
|
430
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_actual'>actual</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> to not only include </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_elements'>elements</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'>, but it did.</span><span class='tstring_end'>"</span></span>
|
419
431
|
<span class='kw'>end</span></pre>
|
420
432
|
</td>
|
421
433
|
</tr>
|
@@ -425,7 +437,7 @@
|
|
425
437
|
<div class="method_details ">
|
426
438
|
<h3 class="signature " id="matches?-instance_method">
|
427
439
|
|
428
|
-
|
440
|
+
#<strong>matches?</strong>(actual) ⇒ <tt>Boolean</tt>
|
429
441
|
|
430
442
|
|
431
443
|
|
@@ -484,11 +496,12 @@
|
|
484
496
|
|
485
497
|
</div>
|
486
498
|
|
487
|
-
|
488
|
-
Generated on Wed
|
499
|
+
<div id="footer">
|
500
|
+
Generated on Wed Mar 14 09:56:36 2018 by
|
489
501
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
490
|
-
0.
|
502
|
+
0.9.12 (ruby-2.4.1).
|
491
503
|
</div>
|
492
504
|
|
505
|
+
</div>
|
493
506
|
</body>
|
494
507
|
</html>
|