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
@@ -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
  Module: ElabsMatchers::Matchers::OnlyInclude
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::OnlyInclude";
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 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 (O)</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>
36
41
  &raquo;
37
42
  <span class="title">OnlyInclude</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>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Module: ElabsMatchers::Matchers::OnlyInclude
62
+ <div id="content"><h1>Module: ElabsMatchers::Matchers::OnlyInclude
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
- <dt class="r1 last">Defined in:</dt>
82
- <dd class="r1 last">lib/elabs_matchers/matchers/only_include.rb</dd>
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/elabs_matchers/matchers/only_include.rb</dd>
82
+ </dl>
83
83
 
84
- </dl>
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>(<a href="#" class="summary_toggle">collapse</a>)</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="#only_include-instance_method" title="#only_include (instance method)">- (Object) <strong>only_include</strong>(*elements) </a>
114
+ <a href="#only_include-instance_method" title="#only_include (instance method)">#<strong>only_include</strong>(*elements) &#x21d2; 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="only_include-instance_method">
147
146
 
148
- - (<tt>Object</tt>) <strong>only_include</strong>(*elements)
147
+ #<strong>only_include</strong>(*elements) &#x21d2; <tt>Object</tt>
149
148
 
150
149
 
151
150
 
@@ -157,8 +156,8 @@
157
156
  <p>Asserts if the array contains exactly the supplied elements. The order of
158
157
  the element do not have to match.</p>
159
158
 
160
- <p>Example: ["foo", "bar"].should only_include("bar", "foo") ["foo",
161
- "bar"].should_not only_include("foo")</p>
159
+ <p>Example: [foo”, bar].should only_include(bar”, foo) [foo”,
160
+ bar].should_not only_include(foo)</p>
162
161
 
163
162
 
164
163
  </div>
@@ -192,15 +191,15 @@ the element do not have to match.</p>
192
191
  <pre class="lines">
193
192
 
194
193
 
195
- 36
196
- 37
197
- 38</pre>
194
+ 38
195
+ 39
196
+ 40</pre>
198
197
  </td>
199
198
  <td>
200
- <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/only_include.rb', line 36</span>
199
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/only_include.rb', line 38</span>
201
200
 
202
201
  <span class='kw'>def</span> <span class='id identifier rubyid_only_include'>only_include</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_elements'>elements</span><span class='rparen'>)</span>
203
- <span class='const'>OnlyIncludeMatcher</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_elements'>elements</span><span class='rparen'>)</span>
202
+ <span class='const'><span class='object_link'><a href="OnlyInclude/OnlyIncludeMatcher.html" title="ElabsMatchers::Matchers::OnlyInclude::OnlyIncludeMatcher (class)">OnlyIncludeMatcher</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_elements'>elements</span><span class='rparen'>)</span>
204
203
  <span class='kw'>end</span></pre>
205
204
  </td>
206
205
  </tr>
@@ -211,11 +210,12 @@ the element do not have to match.</p>
211
210
 
212
211
  </div>
213
212
 
214
- <div id="footer">
215
- Generated on Wed Sep 19 15:04:26 2012 by
213
+ <div id="footer">
214
+ Generated on Wed Mar 14 09:56:36 2018 by
216
215
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
217
- 0.8.2.1 (ruby-1.9.3).
216
+ 0.9.12 (ruby-2.4.1).
218
217
  </div>
219
218
 
219
+ </div>
220
220
  </body>
221
221
  </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::Persist::PersistMatcher
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::Persist::PersistMatcher";
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 (P)</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="../Persist.html" title="ElabsMatchers::Matchers::Persist (module)">Persist</a></span></span>
36
41
  &raquo;
37
42
  <span class="title">PersistMatcher</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>
59
+ <div class="clear"></div>
60
+ </div>
63
61
 
64
- <iframe id="search_frame"></iframe>
65
-
66
- <div id="content"><h1>Class: ElabsMatchers::Matchers::Persist::PersistMatcher
62
+ <div id="content"><h1>Class: ElabsMatchers::Matchers::Persist::PersistMatcher
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
+
88
+
90
89
 
91
90
 
92
-
93
91
 
94
-
95
92
 
93
+
96
94
 
95
+
97
96
 
98
- <dt class="r2 last">Defined in:</dt>
99
- <dd class="r2 last">lib/elabs_matchers/matchers/persist.rb</dd>
97
+ <dl>
98
+ <dt>Defined in:</dt>
99
+ <dd>lib/elabs_matchers/matchers/persist.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="#attribute-instance_method" title="#attribute (instance method)">- (Object) <strong>attribute</strong> </a>
114
+ <a href="#attribute-instance_method" title="#attribute (instance method)">#<strong>attribute</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="#record-instance_method" title="#record (instance method)">- (Object) <strong>record</strong> </a>
141
+ <a href="#record-instance_method" title="#record (instance method)">#<strong>record</strong> &#x21d2; Object </a>
142
142
 
143
143
 
144
144
 
@@ -167,7 +167,7 @@
167
167
  <li class="public ">
168
168
  <span class="summary_signature">
169
169
 
170
- <a href="#value-instance_method" title="#value (instance method)">- (Object) <strong>value</strong> </a>
170
+ <a href="#value-instance_method" title="#value (instance method)">#<strong>value</strong> &#x21d2; Object </a>
171
171
 
172
172
 
173
173
 
@@ -199,7 +199,7 @@
199
199
 
200
200
  <h2>
201
201
  Instance Method Summary
202
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
202
+ <small><a href="#" class="summary_toggle">collapse</a></small>
203
203
  </h2>
204
204
 
205
205
  <ul class="summary">
@@ -207,10 +207,34 @@
207
207
  <li class="public ">
208
208
  <span class="summary_signature">
209
209
 
210
- <a href="#failure_message_for_should-instance_method" title="#failure_message_for_should (instance method)">- (Object) <strong>failure_message_for_should</strong> </a>
210
+ <a href="#description-instance_method" title="#description (instance method)">#<strong>description</strong> &#x21d2; Object </a>
211
+
212
+
213
+
214
+ </span>
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+ <span class="summary_desc"><div class='inline'></div></span>
225
+
226
+ </li>
227
+
228
+
229
+ <li class="public ">
230
+ <span class="summary_signature">
231
+
232
+ <a href="#failure_message-instance_method" title="#failure_message (instance method)">#<strong>failure_message</strong> &#x21d2; Object </a>
211
233
 
212
234
 
213
235
 
236
+ (also: #failure_message_for_should)
237
+
214
238
  </span>
215
239
 
216
240
 
@@ -229,10 +253,12 @@
229
253
  <li class="public ">
230
254
  <span class="summary_signature">
231
255
 
232
- <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>
256
+ <a href="#failure_message_when_negated-instance_method" title="#failure_message_when_negated (instance method)">#<strong>failure_message_when_negated</strong> &#x21d2; Object </a>
233
257
 
234
258
 
235
259
 
260
+ (also: #failure_message_for_should_not)
261
+
236
262
  </span>
237
263
 
238
264
 
@@ -251,7 +277,7 @@
251
277
  <li class="public ">
252
278
  <span class="summary_signature">
253
279
 
254
- <a href="#matches%3F-instance_method" title="#matches? (instance method)">- (Boolean) <strong>matches?</strong>(record) </a>
280
+ <a href="#matches%3F-instance_method" title="#matches? (instance method)">#<strong>matches?</strong>(record) &#x21d2; Boolean </a>
255
281
 
256
282
 
257
283
 
@@ -283,7 +309,7 @@
283
309
  <div class="method_details first">
284
310
  <h3 class="signature first" id="attribute-instance_method">
285
311
 
286
- - (<tt>Object</tt>) <strong>attribute</strong>
312
+ #<strong>attribute</strong> &#x21d2; <tt>Object</tt>
287
313
 
288
314
 
289
315
 
@@ -344,7 +370,7 @@
344
370
  <div class="method_details ">
345
371
  <h3 class="signature " id="record-instance_method">
346
372
 
347
- - (<tt>Object</tt>) <strong>record</strong> <span class="extras">(readonly)</span>
373
+ #<strong>record</strong> &#x21d2; <tt>Object</tt> <span class="extras">(readonly)</span>
348
374
 
349
375
 
350
376
 
@@ -387,7 +413,7 @@
387
413
  <div class="method_details ">
388
414
  <h3 class="signature " id="value-instance_method">
389
415
 
390
- - (<tt>Object</tt>) <strong>value</strong>
416
+ #<strong>value</strong> &#x21d2; <tt>Object</tt>
391
417
 
392
418
 
393
419
 
@@ -451,12 +477,46 @@
451
477
 
452
478
 
453
479
  <div class="method_details first">
454
- <h3 class="signature first" id="failure_message_for_should-instance_method">
480
+ <h3 class="signature first" id="description-instance_method">
481
+
482
+ #<strong>description</strong> &#x21d2; <tt>Object</tt>
483
+
484
+
485
+
486
+
487
+
488
+ </h3><table class="source_code">
489
+ <tr>
490
+ <td>
491
+ <pre class="lines">
492
+
493
+
494
+ 28
495
+ 29
496
+ 30</pre>
497
+ </td>
498
+ <td>
499
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 28</span>
500
+
501
+ <span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
502
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>persist </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_attribute'>attribute</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
503
+ <span class='kw'>end</span></pre>
504
+ </td>
505
+ </tr>
506
+ </table>
507
+ </div>
508
+
509
+ <div class="method_details ">
510
+ <h3 class="signature " id="failure_message-instance_method">
455
511
 
456
- - (<tt>Object</tt>) <strong>failure_message_for_should</strong>
512
+ #<strong>failure_message</strong> &#x21d2; <tt>Object</tt>
457
513
 
458
514
 
459
515
 
516
+ <span class="aliases">Also known as:
517
+ <span class="names"><span id='failure_message_for_should-instance_method'>failure_message_for_should</span></span>
518
+ </span>
519
+
460
520
 
461
521
 
462
522
  </h3><table class="source_code">
@@ -472,8 +532,8 @@
472
532
  <td>
473
533
  <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 18</span>
474
534
 
475
- <span class='kw'>def</span> <span class='id identifier rubyid_failure_message_for_should'>failure_message_for_should</span>
476
- <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_attribute'>attribute</span><span class='rbrace'>}</span><span class='tstring_content'> to be persisted and retain its value of </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_content'> but the value was </span><span class='embexpr_beg'>#{</span><span class='ivar'>@final_value</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>&quot;</span></span>
535
+ <span class='kw'>def</span> <span class='id identifier rubyid_failure_message'>failure_message</span>
536
+ <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_attribute'>attribute</span><span class='embexpr_end'>}</span><span class='tstring_content'> to be persisted and retain its value of </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_content'> but the value was </span><span class='embexpr_beg'>#{</span><span class='ivar'>@final_value</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'>&quot;</span></span>
477
537
  <span class='kw'>end</span></pre>
478
538
  </td>
479
539
  </tr>
@@ -481,12 +541,16 @@
481
541
  </div>
482
542
 
483
543
  <div class="method_details ">
484
- <h3 class="signature " id="failure_message_for_should_not-instance_method">
544
+ <h3 class="signature " id="failure_message_when_negated-instance_method">
485
545
 
486
- - (<tt>Object</tt>) <strong>failure_message_for_should_not</strong>
546
+ #<strong>failure_message_when_negated</strong> &#x21d2; <tt>Object</tt>
487
547
 
488
548
 
489
549
 
550
+ <span class="aliases">Also known as:
551
+ <span class="names"><span id='failure_message_for_should_not-instance_method'>failure_message_for_should_not</span></span>
552
+ </span>
553
+
490
554
 
491
555
 
492
556
  </h3><table class="source_code">
@@ -495,15 +559,15 @@
495
559
  <pre class="lines">
496
560
 
497
561
 
498
- 22
499
562
  23
500
- 24</pre>
563
+ 24
564
+ 25</pre>
501
565
  </td>
502
566
  <td>
503
- <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 22</span>
567
+ <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 23</span>
504
568
 
505
- <span class='kw'>def</span> <span class='id identifier rubyid_failure_message_for_should_not'>failure_message_for_should_not</span>
506
- <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_attribute'>attribute</span><span class='rbrace'>}</span><span class='tstring_content'> not to be persisted and retain its value of </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</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>
569
+ <span class='kw'>def</span> <span class='id identifier rubyid_failure_message_when_negated'>failure_message_when_negated</span>
570
+ <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_attribute'>attribute</span><span class='embexpr_end'>}</span><span class='tstring_content'> not to be persisted and retain its value of </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_value'>value</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>
507
571
  <span class='kw'>end</span></pre>
508
572
  </td>
509
573
  </tr>
@@ -513,7 +577,7 @@
513
577
  <div class="method_details ">
514
578
  <h3 class="signature " id="matches?-instance_method">
515
579
 
516
- - (<tt>Boolean</tt>) <strong>matches?</strong>(record)
580
+ #<strong>matches?</strong>(record) &#x21d2; <tt>Boolean</tt>
517
581
 
518
582
 
519
583
 
@@ -560,7 +624,7 @@
560
624
  <pre class="code"><span class="info file"># File 'lib/elabs_matchers/matchers/persist.rb', line 9</span>
561
625
 
562
626
  <span class='kw'>def</span> <span class='id identifier rubyid_matches?'>matches?</span><span class='lparen'>(</span><span class='id identifier rubyid_record'>record</span><span class='rparen'>)</span>
563
- <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:#{</span><span class='id identifier rubyid_attribute'>attribute</span><span class='rbrace'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
627
+ <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='symbol'>:#{</span><span class='id identifier rubyid_attribute'>attribute</span><span class='embexpr_end'>}</span><span class='tstring_content'>=</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span><span class='rparen'>)</span>
564
628
  <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_save!'>save!</span>
565
629
  <span class='id identifier rubyid_record'>record</span> <span class='op'>=</span> <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_class'>class</span><span class='period'>.</span><span class='id identifier rubyid_find'>find</span><span class='lparen'>(</span><span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span><span class='rparen'>)</span>
566
630
  <span class='ivar'>@final_value</span> <span class='op'>=</span> <span class='id identifier rubyid_record'>record</span><span class='period'>.</span><span class='id identifier rubyid_send'>send</span><span class='lparen'>(</span><span class='id identifier rubyid_attribute'>attribute</span><span class='rparen'>)</span>
@@ -576,11 +640,12 @@
576
640
 
577
641
  </div>
578
642
 
579
- <div id="footer">
580
- Generated on Wed Sep 19 15:04:27 2012 by
643
+ <div id="footer">
644
+ Generated on Wed Mar 14 09:56:36 2018 by
581
645
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
582
- 0.8.2.1 (ruby-1.9.3).
646
+ 0.9.12 (ruby-2.4.1).
583
647
  </div>
584
648
 
649
+ </div>
585
650
  </body>
586
651
  </html>