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.
Files changed (82) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +3 -6
  3. data/{development.txt → development.md} +2 -2
  4. data/doc/ElabsMatchers/Helpers/Fixtures.html +46 -46
  5. data/doc/ElabsMatchers/Helpers/NormalizeKeys.html +45 -45
  6. data/doc/ElabsMatchers/Helpers/ReloadRecord.html +45 -45
  7. data/doc/ElabsMatchers/Helpers/SelectYearAndMonth.html +48 -48
  8. data/doc/ElabsMatchers/Helpers.html +40 -40
  9. data/doc/ElabsMatchers/Matchers/{Allow/AllowMatcher.html → BeValidWith/BeValidWithMatcher.html} +150 -85
  10. data/doc/ElabsMatchers/Matchers/BeValidWith.html +229 -0
  11. data/doc/ElabsMatchers/Matchers/ContainHash/ContainHashMatcher.html +80 -67
  12. data/doc/ElabsMatchers/Matchers/ContainHash.html +51 -51
  13. data/doc/ElabsMatchers/Matchers/HaveAttribute/HaveAttributeMatcher.html +108 -95
  14. data/doc/ElabsMatchers/Matchers/HaveAttribute.html +49 -49
  15. data/doc/ElabsMatchers/Matchers/HaveFields/HaveFieldsMatcher.html +103 -90
  16. data/doc/ElabsMatchers/Matchers/HaveFields.html +50 -50
  17. data/doc/ElabsMatchers/Matchers/HaveFlash/HaveFlashMatcher.html +108 -95
  18. data/doc/ElabsMatchers/Matchers/HaveFlash.html +57 -57
  19. data/doc/ElabsMatchers/Matchers/HaveFormErrorsOn/HaveFormErrorsOnMatcher.html +110 -97
  20. data/doc/ElabsMatchers/Matchers/HaveFormErrorsOn.html +49 -49
  21. data/doc/ElabsMatchers/Matchers/HaveHeader/HaveHeaderMatcher.html +103 -90
  22. data/doc/ElabsMatchers/Matchers/HaveHeader.html +49 -49
  23. data/doc/ElabsMatchers/Matchers/HaveImage/HaveImageMatcher.html +104 -91
  24. data/doc/ElabsMatchers/Matchers/HaveImage.html +49 -49
  25. data/doc/ElabsMatchers/Matchers/OnlyInclude/OnlyIncludeMatcher.html +79 -66
  26. data/doc/ElabsMatchers/Matchers/OnlyInclude.html +50 -50
  27. data/doc/ElabsMatchers/Matchers/Persist/PersistMatcher.html +134 -69
  28. data/doc/ElabsMatchers/Matchers/Persist.html +49 -49
  29. data/doc/ElabsMatchers/Matchers.html +42 -42
  30. data/doc/ElabsMatchers.html +143 -144
  31. data/doc/_index.html +35 -52
  32. data/doc/class_list.html +25 -27
  33. data/doc/css/full_list.css +32 -31
  34. data/doc/css/style.css +262 -91
  35. data/doc/file.README.html +91 -87
  36. data/doc/file_list.html +27 -26
  37. data/doc/frames.html +10 -21
  38. data/doc/index.html +91 -87
  39. data/doc/js/app.js +106 -72
  40. data/doc/js/full_list.js +170 -127
  41. data/doc/method_list.html +456 -505
  42. data/doc/top-level-namespace.html +36 -38
  43. data/elabs_matchers.gemspec +2 -2
  44. data/history.txt +11 -0
  45. data/lib/elabs_matchers/helpers/normalize_keys.rb +1 -1
  46. data/lib/elabs_matchers/helpers/select_year_and_month.rb +1 -0
  47. data/lib/elabs_matchers/matchers/be_valid_with.rb +5 -10
  48. data/lib/elabs_matchers/matchers/contain_hash.rb +4 -2
  49. data/lib/elabs_matchers/matchers/have_attribute.rb +5 -2
  50. data/lib/elabs_matchers/matchers/have_fields.rb +5 -2
  51. data/lib/elabs_matchers/matchers/have_flash.rb +5 -2
  52. data/lib/elabs_matchers/matchers/have_form_errors_on.rb +5 -2
  53. data/lib/elabs_matchers/matchers/have_header.rb +5 -2
  54. data/lib/elabs_matchers/matchers/have_image.rb +5 -2
  55. data/lib/elabs_matchers/matchers/only_include.rb +14 -2
  56. data/lib/elabs_matchers/matchers/persist.rb +8 -2
  57. data/lib/elabs_matchers/version.rb +1 -1
  58. data/lib/elabs_matchers.rb +0 -1
  59. data/spec/elabs_matchers/matchers/only_include_spec.rb +13 -0
  60. data/spec/elabs_matchers/matchers/persist_spec.rb +1 -1
  61. data/spec/spec_helper.rb +7 -0
  62. metadata +8 -29
  63. data/doc/Cucumber.html +0 -116
  64. data/doc/ElabsMatchers/Cucumber/Common.html +0 -145
  65. data/doc/ElabsMatchers/Cucumber.html +0 -108
  66. data/doc/ElabsMatchers/Helpers/Capybara.html +0 -241
  67. data/doc/ElabsMatchers/Helpers/Common.html +0 -213
  68. data/doc/ElabsMatchers/Helpers/Orm.html +0 -289
  69. data/doc/ElabsMatchers/Helpers/Session.html +0 -497
  70. data/doc/ElabsMatchers/Matchers/Allow.html +0 -229
  71. data/doc/ElabsMatchers/Matchers/Capybara/Common.html +0 -1159
  72. data/doc/ElabsMatchers/Matchers/Capybara.html +0 -108
  73. data/doc/ElabsMatchers/Matchers/HaveTableRow/HaveTableRowMatcher.html +0 -654
  74. data/doc/ElabsMatchers/Matchers/HaveTableRow.html +0 -236
  75. data/doc/ElabsMatchers/Matchers/Rspec/Allow.html +0 -98
  76. data/doc/ElabsMatchers/Matchers/Rspec/Common.html +0 -332
  77. data/doc/ElabsMatchers/Matchers/Rspec/Orm.html +0 -231
  78. data/doc/ElabsMatchers/Matchers/Rspec.html +0 -110
  79. data/doc/ElabsMatchers/Orm/Post.html +0 -1041
  80. data/doc/ElabsMatchers/Orm.html +0 -108
  81. data/lib/elabs_matchers/matchers/have_table_row.rb +0 -124
  82. data/spec/elabs_matchers/matchers/have_table_row_spec.rb +0 -119
@@ -0,0 +1,229 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Module: ElabsMatchers::Matchers::BeValidWith
8
+
9
+ &mdash; Documentation by YARD 0.9.12
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "ElabsMatchers::Matchers::BeValidWith";
19
+ relpath = '../../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
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">
38
+
39
+ <a href="../../_index.html">Index (B)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../ElabsMatchers.html" title="ElabsMatchers (module)">ElabsMatchers</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Matchers.html" title="ElabsMatchers::Matchers (module)">Matchers</a></span></span>
41
+ &raquo;
42
+ <span class="title">BeValidWith</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../../class_list.html">
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>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Module: ElabsMatchers::Matchers::BeValidWith
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/elabs_matchers/matchers/be_valid_with.rb</dd>
82
+ </dl>
83
+
84
+ </div>
85
+
86
+ <h2>Defined Under Namespace</h2>
87
+ <p class="children">
88
+
89
+
90
+
91
+
92
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="BeValidWith/BeValidWithMatcher.html" title="ElabsMatchers::Matchers::BeValidWith::BeValidWithMatcher (class)">BeValidWithMatcher</a></span>
93
+
94
+
95
+ </p>
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+ <h2>
105
+ Instance Method Summary
106
+ <small><a href="#" class="summary_toggle">collapse</a></small>
107
+ </h2>
108
+
109
+ <ul class="summary">
110
+
111
+ <li class="public ">
112
+ <span class="summary_signature">
113
+
114
+ <a href="#be_valid_with-instance_method" title="#be_valid_with (instance method)">#<strong>be_valid_with</strong>(*values) &#x21d2; Object </a>
115
+
116
+
117
+
118
+ </span>
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+ <span class="summary_desc"><div class='inline'>
129
+ <p>Asserts if a sample value is valid on a given attribute.</p>
130
+ </div></span>
131
+
132
+ </li>
133
+
134
+
135
+ </ul>
136
+
137
+
138
+
139
+
140
+ <div id="instance_method_details" class="method_details_list">
141
+ <h2>Instance Method Details</h2>
142
+
143
+
144
+ <div class="method_details first">
145
+ <h3 class="signature first" id="be_valid_with-instance_method">
146
+
147
+ #<strong>be_valid_with</strong>(*values) &#x21d2; <tt>Object</tt>
148
+
149
+
150
+
151
+
152
+
153
+ </h3><div class="docstring">
154
+ <div class="discussion">
155
+
156
+ <p>Asserts if a sample value is valid on a given attribute</p>
157
+
158
+ <p>Example: post.should be_valid_with(“Elabs”).as(:title) post.should_not
159
+ be_valid_with(“”).as(:title)</p>
160
+
161
+ <p>post.should be_valid_with(“Elabs”).as(:title, :body) post.should_not
162
+ be_valid_with(“”).as(:title, :body)</p>
163
+
164
+ <p>post.should be_valid_with(“Elabs”, “Sweden”).as(:title) post.should_not
165
+ be_valid_with(“”, nil).as(:title)</p>
166
+
167
+ <p>post.should be_valid_with(“Elabs”, “Sweden”).as(:title, :body)
168
+ post.should_not be_valid_with(“”, nil).as(:title, :body)</p>
169
+
170
+
171
+ </div>
172
+ </div>
173
+ <div class="tags">
174
+ <p class="tag_title">Parameters:</p>
175
+ <ul class="param">
176
+
177
+ <li>
178
+
179
+ <span class='name'>values</span>
180
+
181
+
182
+ <span class='type'>(<tt>*Array</tt>)</span>
183
+
184
+
185
+
186
+ &mdash;
187
+ <div class='inline'>
188
+ <p>Sample value(s) to check the validation against</p>
189
+ </div>
190
+
191
+ </li>
192
+
193
+ </ul>
194
+
195
+
196
+ </div><table class="source_code">
197
+ <tr>
198
+ <td>
199
+ <pre class="lines">
200
+
201
+
202
+ 130
203
+ 131
204
+ 132</pre>
205
+ </td>
206
+ <td>
207
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/be_valid_with.rb', line 130</span>
208
+
209
+ <span class='kw'>def</span> <span class='id identifier rubyid_be_valid_with'>be_valid_with</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='rparen'>)</span>
210
+ <span class='const'><span class='object_link'><a href="BeValidWith/BeValidWithMatcher.html" title="ElabsMatchers::Matchers::BeValidWith::BeValidWithMatcher (class)">BeValidWithMatcher</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'><span class='object_link'><a href="BeValidWith/BeValidWithMatcher.html#initialize-instance_method" title="ElabsMatchers::Matchers::BeValidWith::BeValidWithMatcher#initialize (method)">new</a></span></span><span class='lparen'>(</span><span class='id identifier rubyid_values'>values</span><span class='rparen'>)</span>
211
+ <span class='kw'>end</span></pre>
212
+ </td>
213
+ </tr>
214
+ </table>
215
+ </div>
216
+
217
+ </div>
218
+
219
+ </div>
220
+
221
+ <div id="footer">
222
+ Generated on Wed Mar 14 09:56:36 2018 by
223
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
224
+ 0.9.12 (ruby-2.4.1).
225
+ </div>
226
+
227
+ </div>
228
+ </body>
229
+ </html>
@@ -1,23 +1,22 @@
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">
1
+ <!DOCTYPE html>
2
+ <html>
4
3
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
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::ContainHash::ContainHashMatcher
8
8
 
9
- &mdash; Documentation by YARD 0.8.2.1
9
+ &mdash; Documentation by YARD 0.9.12
10
10
 
11
11
  </title>
12
12
 
13
- <link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen" charset="utf-8" />
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" media="screen" charset="utf-8" />
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
- hasFrames = window.top.frames.main ? true : false;
18
+ pathId = "ElabsMatchers::Matchers::ContainHash::ContainHashMatcher";
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 id="header">
32
- <div id="menu">
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 (C)</a> &raquo;
35
40
  <span class='title'><span class='object_link'><a href="../../../ElabsMatchers.html" title="ElabsMatchers (module)">ElabsMatchers</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../../Matchers.html" title="ElabsMatchers::Matchers (module)">Matchers</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../ContainHash.html" title="ElabsMatchers::Matchers::ContainHash (module)">ContainHash</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">ContainHashMatcher</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
- <div id="search">
46
+ <div id="search">
44
47
 
45
48
  <a class="full_list_link" id="class_list_link"
46
49
  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
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
- <div class="clear"></div>
62
- </div>
63
-
64
- <iframe id="search_frame"></iframe>
59
+ <div class="clear"></div>
60
+ </div>
65
61
 
66
- <div id="content"><h1>Class: ElabsMatchers::Matchers::ContainHash::ContainHashMatcher
62
+ <div id="content"><h1>Class: ElabsMatchers::Matchers::ContainHash::ContainHashMatcher
67
63
 
68
64
 
69
65
 
70
66
  </h1>
71
-
72
- <dl class="box">
67
+ <div class="box_info">
73
68
 
74
- <dt class="r1">Inherits:</dt>
75
- <dd class="r1">
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
- </dd>
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
- <dt class="r2 last">Defined in:</dt>
99
- <dd class="r2 last">lib/elabs_matchers/matchers/contain_hash.rb</dd>
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/elabs_matchers/matchers/contain_hash.rb</dd>
100
+ </dl>
100
101
 
101
- </dl>
102
- <div class="clear"></div>
102
+ </div>
103
103
 
104
104
 
105
105
 
106
106
 
107
107
 
108
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
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)">- (Object) <strong>actual</strong> </a>
114
+ <a href="#actual-instance_method" title="#actual (instance method)">#<strong>actual</strong> &#x21d2; Object </a>
115
115
 
116
116
 
117
117
 
@@ -138,7 +138,7 @@
138
138
  <li class="public ">
139
139
  <span class="summary_signature">
140
140
 
141
- <a href="#expected-instance_method" title="#expected (instance method)">- (Object) <strong>expected</strong> </a>
141
+ <a href="#expected-instance_method" title="#expected (instance method)">#<strong>expected</strong> &#x21d2; Object </a>
142
142
 
143
143
 
144
144
 
@@ -170,7 +170,7 @@
170
170
 
171
171
  <h2>
172
172
  Instance Method Summary
173
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
173
+ <small><a href="#" class="summary_toggle">collapse</a></small>
174
174
  </h2>
175
175
 
176
176
  <ul class="summary">
@@ -178,10 +178,12 @@
178
178
  <li class="public ">
179
179
  <span class="summary_signature">
180
180
 
181
- <a href="#failure_message_for_should-instance_method" title="#failure_message_for_should (instance method)">- (Object) <strong>failure_message_for_should</strong> </a>
181
+ <a href="#failure_message-instance_method" title="#failure_message (instance method)">#<strong>failure_message</strong> &#x21d2; Object </a>
182
182
 
183
183
 
184
184
 
185
+ (also: #failure_message_for_should)
186
+
185
187
  </span>
186
188
 
187
189
 
@@ -200,10 +202,12 @@
200
202
  <li class="public ">
201
203
  <span class="summary_signature">
202
204
 
203
- <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>
205
+ <a href="#failure_message_when_negated-instance_method" title="#failure_message_when_negated (instance method)">#<strong>failure_message_when_negated</strong> &#x21d2; Object </a>
204
206
 
205
207
 
206
208
 
209
+ (also: #failure_message_for_should_not)
210
+
207
211
  </span>
208
212
 
209
213
 
@@ -222,7 +226,7 @@
222
226
  <li class="public ">
223
227
  <span class="summary_signature">
224
228
 
225
- <a href="#matches%3F-instance_method" title="#matches? (instance method)">- (Boolean) <strong>matches?</strong>(actual) </a>
229
+ <a href="#matches%3F-instance_method" title="#matches? (instance method)">#<strong>matches?</strong>(actual) &#x21d2; Boolean </a>
226
230
 
227
231
 
228
232
 
@@ -254,7 +258,7 @@
254
258
  <div class="method_details first">
255
259
  <h3 class="signature first" id="actual-instance_method">
256
260
 
257
- - (<tt>Object</tt>) <strong>actual</strong>
261
+ #<strong>actual</strong> &#x21d2; <tt>Object</tt>
258
262
 
259
263
 
260
264
 
@@ -315,7 +319,7 @@
315
319
  <div class="method_details ">
316
320
  <h3 class="signature " id="expected-instance_method">
317
321
 
318
- - (<tt>Object</tt>) <strong>expected</strong>
322
+ #<strong>expected</strong> &#x21d2; <tt>Object</tt>
319
323
 
320
324
 
321
325
 
@@ -379,12 +383,16 @@
379
383
 
380
384
 
381
385
  <div class="method_details first">
382
- <h3 class="signature first" id="failure_message_for_should-instance_method">
386
+ <h3 class="signature first" id="failure_message-instance_method">
383
387
 
384
- - (<tt>Object</tt>) <strong>failure_message_for_should</strong>
388
+ #<strong>failure_message</strong> &#x21d2; <tt>Object</tt>
385
389
 
386
390
 
387
391
 
392
+ <span class="aliases">Also known as:
393
+ <span class="names"><span id='failure_message_for_should-instance_method'>failure_message_for_should</span></span>
394
+ </span>
395
+
388
396
 
389
397
 
390
398
  </h3><table class="source_code">
@@ -400,8 +408,8 @@
400
408
  <td>
401
409
  <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/contain_hash.rb', line 12</span>
402
410
 
403
- <span class='kw'>def</span> <span class='id identifier rubyid_failure_message_for_should'>failure_message_for_should</span>
404
- <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_expected'>expected</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_content'> to exist in </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='rbrace'>}</span><span class='tstring_content'> but it did not.</span><span class='tstring_end'>&quot;</span></span>
411
+ <span class='kw'>def</span> <span class='id identifier rubyid_failure_message'>failure_message</span>
412
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_expected'>expected</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> to exist in </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'> but it did not.</span><span class='tstring_end'>&quot;</span></span>
405
413
  <span class='kw'>end</span></pre>
406
414
  </td>
407
415
  </tr>
@@ -409,12 +417,16 @@
409
417
  </div>
410
418
 
411
419
  <div class="method_details ">
412
- <h3 class="signature " id="failure_message_for_should_not-instance_method">
420
+ <h3 class="signature " id="failure_message_when_negated-instance_method">
413
421
 
414
- - (<tt>Object</tt>) <strong>failure_message_for_should_not</strong>
422
+ #<strong>failure_message_when_negated</strong> &#x21d2; <tt>Object</tt>
415
423
 
416
424
 
417
425
 
426
+ <span class="aliases">Also known as:
427
+ <span class="names"><span id='failure_message_for_should_not-instance_method'>failure_message_for_should_not</span></span>
428
+ </span>
429
+
418
430
 
419
431
 
420
432
  </h3><table class="source_code">
@@ -423,15 +435,15 @@
423
435
  <pre class="lines">
424
436
 
425
437
 
426
- 16
427
438
  17
428
- 18</pre>
439
+ 18
440
+ 19</pre>
429
441
  </td>
430
442
  <td>
431
- <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/contain_hash.rb', line 16</span>
443
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/contain_hash.rb', line 17</span>
432
444
 
433
- <span class='kw'>def</span> <span class='id identifier rubyid_failure_message_for_should_not'>failure_message_for_should_not</span>
434
- <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_expected'>expected</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_content'> to not exist in </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='rbrace'>}</span><span class='tstring_content'> but it did.</span><span class='tstring_end'>&quot;</span></span>
445
+ <span class='kw'>def</span> <span class='id identifier rubyid_failure_message_when_negated'>failure_message_when_negated</span>
446
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Expected </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_expected'>expected</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> to not exist in </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'> but it did.</span><span class='tstring_end'>&quot;</span></span>
435
447
  <span class='kw'>end</span></pre>
436
448
  </td>
437
449
  </tr>
@@ -441,7 +453,7 @@
441
453
  <div class="method_details ">
442
454
  <h3 class="signature " id="matches?-instance_method">
443
455
 
444
- - (<tt>Boolean</tt>) <strong>matches?</strong>(actual)
456
+ #<strong>matches?</strong>(actual) &#x21d2; <tt>Boolean</tt>
445
457
 
446
458
 
447
459
 
@@ -484,7 +496,7 @@
484
496
  <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/contain_hash.rb', line 7</span>
485
497
 
486
498
  <span class='kw'>def</span> <span class='id identifier rubyid_matches?'>matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_actual'>actual</span><span class='rparen'>)</span>
487
- <span class='ivar'>@actual</span> <span class='op'>=</span> <span class='id identifier rubyid_actual'>actual</span>
499
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_actual'>actual</span> <span class='op'>=</span> <span class='id identifier rubyid_actual'>actual</span>
488
500
  <span class='id identifier rubyid_contains?'>contains?</span><span class='lparen'>(</span><span class='id identifier rubyid_expected'>expected</span><span class='comma'>,</span> <span class='id identifier rubyid_actual'>actual</span><span class='rparen'>)</span>
489
501
  <span class='kw'>end</span></pre>
490
502
  </td>
@@ -496,11 +508,12 @@
496
508
 
497
509
  </div>
498
510
 
499
- <div id="footer">
500
- Generated on Wed Sep 19 15:04:27 2012 by
511
+ <div id="footer">
512
+ Generated on Wed Mar 14 09:56:36 2018 by
501
513
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
502
- 0.8.2.1 (ruby-1.9.3).
514
+ 0.9.12 (ruby-2.4.1).
503
515
  </div>
504
516
 
517
+ </div>
505
518
  </body>
506
519
  </html>