nimboids-shoulda 2.11.3 → 2.11.4

Sign up to get free protection for your applications and to get access to all the features.
data/TAGS ADDED
@@ -0,0 +1,1347 @@
1
+
2
+ /Users/kerry/dev/shoulda/features/step_definitions/common_steps.rb,0
3
+
4
+ /Users/kerry/dev/shoulda/features/step_definitions/rails2_steps.rb,180
5
+ module InsertionHelpersInsertionHelpers68,2036
6
+ def insert_into(path, find, replace)insert_into69,2060
7
+ def insert_into_environment(contents)insert_into_environment75,2225
8
+
9
+ /Users/kerry/dev/shoulda/features/step_definitions/rails3_steps.rb,153
10
+ module AppendHelpersAppendHelpers47,1118
11
+ def append_to(path, contents)append_to48,1139
12
+ def append_to_gemfile(contents)append_to_gemfile55,1262
13
+
14
+ /Users/kerry/dev/shoulda/features/support/terminal.rb,153
15
+ class TerminalTerminal3,21
16
+ def initializeinitialize6,68
17
+ def cd(directory)cd13,213
18
+ def run(command)run17,261
19
+ def echo(string)echo28,478
20
+
21
+ /Users/kerry/dev/shoulda/init.rb,0
22
+
23
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/macros.rb,1109
24
+ module Shoulda # :nodoc:Shoulda1,0
25
+ module ActionController # :nodoc:ActionController2,25
26
+ module MacrosMacros24,708
27
+ def should_set_the_flash_to(val)should_set_the_flash_to36,1105
28
+ def should_not_set_the_flashshould_not_set_the_flash44,1414
29
+ def should_filter_params(*keys)should_filter_params57,1841
30
+ def should_assign_to(*names, &block)should_assign_to80,2642
31
+ def should_not_assign_to(*names)should_not_assign_to98,3264
32
+ def should_respond_with(response)should_respond_with111,3713
33
+ def should_respond_with_content_type(content_type)should_respond_with_content_type124,4248
34
+ def should_set_session(key, &block)should_set_session139,4871
35
+ def should_render_template(template)should_render_template152,5337
36
+ def should_render_with_layout(expected_layout = 'application')should_render_with_layout163,5759
37
+ def should_render_without_layoutshould_render_without_layout172,6194
38
+ def should_redirect_to(description, &block)should_redirect_to187,6803
39
+ def should_route(method, path, options)should_route215,8034
40
+
41
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/assign_to_matcher.rb,794
42
+ module Shoulda # :nodoc:Shoulda1,0
43
+ module ActionController # :nodoc:ActionController2,25
44
+ module MatchersMatchers3,61
45
+ def assign_to(variable)assign_to18,580
46
+ class AssignToMatcher # :nodoc:AssignToMatcher22,659
47
+ def initialize(variable)initialize24,698
48
+ def with_kind_of(expected_class)with_kind_of29,814
49
+ def with(expected_value = nil, &block)with34,926
50
+ def matches?(controller)matches?41,1120
51
+ def descriptiondescription49,1441
52
+ def in_context(context)in_context55,1628
53
+ def assigned_value?assigned_value?62,1734
54
+ def kind_of_expected_class?kind_of_expected_class?75,2192
55
+ def equal_to_expected_value?equal_to_expected_value?91,2792
56
+ def assigned_valueassigned_value106,3337
57
+
58
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/filter_param_matcher.rb,822
59
+ module Shoulda # :nodoc:Shoulda1,0
60
+ module ActionController # :nodoc:ActionController2,25
61
+ module MatchersMatchers3,61
62
+ def filter_param(key)filter_param10,239
63
+ class FilterParamMatcher # :nodoc:FilterParamMatcher14,314
64
+ def initialize(key)initialize16,356
65
+ def matches?(controller)matches?20,423
66
+ def failure_messagefailure_message25,546
67
+ def negative_failure_messagenegative_failure_message29,631
68
+ def descriptiondescription33,731
69
+ def filters_params?filters_params?39,812
70
+ def filters_key?filters_key?44,964
71
+ def filtered_valuefiltered_value48,1043
72
+ def filtered_controller_valuefiltered_controller_value56,1240
73
+ def filtered_request_valuefiltered_request_value62,1441
74
+ def requestrequest67,1625
75
+
76
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/redirect_to_matcher.rb,540
77
+ module Shoulda # :nodoc:Shoulda1,0
78
+ module ActionController # :nodoc:ActionController2,25
79
+ module MatchersMatchers3,61
80
+ def redirect_to(url_or_description, &block)redirect_to11,283
81
+ class RedirectToMatcher # :nodoc:RedirectToMatcher15,408
82
+ def initialize(url_or_description, context, &block)initialize17,449
83
+ def in_context(context)in_context28,741
84
+ def matches?(controller)matches?33,830
85
+ def descriptiondescription40,1004
86
+ def redirects_to_url?redirects_to_url?46,1095
87
+
88
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/render_template_matcher.rb,518
89
+ module Shoulda # :nodoc:Shoulda1,0
90
+ module ActionController # :nodoc:ActionController2,25
91
+ module MatchersMatchers3,61
92
+ def render_template(template)render_template10,221
93
+ class RenderTemplateMatcher # :nodoc:RenderTemplateMatcher14,318
94
+ def initialize(template, context)initialize16,363
95
+ def matches?(controller)matches?21,484
96
+ def descriptiondescription28,658
97
+ def in_context(context)in_context32,736
98
+ def renders_template?renders_template?39,842
99
+
100
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/render_with_layout_matcher.rb,924
101
+ module Shoulda # :nodoc:Shoulda1,0
102
+ module ActionController # :nodoc:ActionController2,25
103
+ module MatchersMatchers3,61
104
+ def render_with_layout(expected_layout = nil)render_with_layout12,326
105
+ class RenderWithLayout # :nodoc:RenderWithLayout16,435
106
+ def initialize(expected_layout)initialize18,475
107
+ def in_context(context)in_context24,720
108
+ def matches?(controller)matches?29,809
109
+ def failure_messagefailure_message34,956
110
+ def negative_failure_messagenegative_failure_message38,1048
111
+ def descriptiondescription42,1155
112
+ def rendered_with_layout?rendered_with_layout?54,1440
113
+ def rendered_with_expected_layout?rendered_with_expected_layout?58,1522
114
+ def rendered_layoutsrendered_layouts63,1679
115
+ def recorded_layoutsrecorded_layouts76,2034
116
+ def expectationexpectation82,2167
117
+ def resultresult86,2234
118
+
119
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/respond_with_content_type_matcher.rb,751
120
+ module Shoulda # :nodoc:Shoulda1,0
121
+ module ActionController # :nodoc:ActionController2,25
122
+ module MatchersMatchers3,61
123
+ def respond_with_content_type(content_type)respond_with_content_type20,780
124
+ class RespondWithContentTypeMatcher # :nodoc:RespondWithContentTypeMatcher24,897
125
+ def initialize(content_type)initialize26,950
126
+ def descriptiondescription34,1156
127
+ def matches?(controller)matches?38,1251
128
+ def failure_messagefailure_message47,1504
129
+ def negative_failure_messagenegative_failure_message51,1581
130
+ def response_content_typeresponse_content_type57,1692
131
+ def lookup_by_extension(extension)lookup_by_extension61,1788
132
+ def expectationexpectation65,1906
133
+
134
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/respond_with_matcher.rb,821
135
+ module Shoulda # :nodoc:Shoulda1,0
136
+ module ActionController # :nodoc:ActionController2,25
137
+ module MatchersMatchers3,61
138
+ def respond_with(status)respond_with18,644
139
+ class RespondWithMatcher # :nodoc:RespondWithMatcher22,725
140
+ def initialize(status)initialize24,767
141
+ def matches?(controller)matches?28,861
142
+ def failure_messagefailure_message33,1003
143
+ def negative_failure_messagenegative_failure_message37,1080
144
+ def descriptiondescription41,1172
145
+ def correct_status_code?correct_status_code?47,1264
146
+ def correct_status_code_range?correct_status_code_range?51,1345
147
+ def response_coderesponse_code56,1475
148
+ def symbol_to_status_code(potential_symbol)symbol_to_status_code60,1559
149
+ def expectationexpectation77,2126
150
+
151
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/route_matcher.rb,641
152
+ module Shoulda # :nodoc:Shoulda1,0
153
+ module ActionController # :nodoc:ActionController2,25
154
+ module MatchersMatchers3,61
155
+ def route(method, path)route25,1095
156
+ class RouteMatcher # :nodoc:RouteMatcher29,1181
157
+ def initialize(method, path, context)initialize31,1217
158
+ def to(params)to37,1359
159
+ def in_context(context)in_context43,1465
160
+ def matches?(controller)matches?48,1554
161
+ def descriptiondescription56,1756
162
+ def guess_controller!guess_controller!62,1887
163
+ def stringify_params!stringify_params!66,1993
164
+ def route_recognized?route_recognized?72,2186
165
+
166
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/set_session_matcher.rb,930
167
+ module Shoulda # :nodoc:Shoulda1,0
168
+ module ActionController # :nodoc:ActionController2,25
169
+ module MatchersMatchers3,61
170
+ def set_session(key)set_session12,336
171
+ class SetSessionMatcher # :nodoc:SetSessionMatcher16,409
172
+ def initialize(key)initialize18,450
173
+ def to(value = nil, &block)to22,517
174
+ def matches?(controller)matches?28,637
175
+ def failure_messagefailure_message34,864
176
+ def negative_failure_messagenegative_failure_message38,956
177
+ def descriptiondescription42,1062
178
+ def in_context(context)in_context48,1253
179
+ def assigned_value?assigned_value?55,1359
180
+ def cleared_value?cleared_value?59,1431
181
+ def assigned_correct_value?assigned_correct_value?63,1536
182
+ def assigned_valueassigned_value68,1657
183
+ def sessionsession72,1721
184
+ def expectationexpectation80,1932
185
+ def resultresult86,2111
186
+
187
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers/set_the_flash_matcher.rb,827
188
+ module Shoulda # :nodoc:Shoulda1,0
189
+ module ActionController # :nodoc:ActionController2,25
190
+ module MatchersMatchers3,61
191
+ def set_the_flashset_the_flash15,531
192
+ class SetTheFlashMatcher # :nodoc:SetTheFlashMatcher19,597
193
+ def to(value)to21,639
194
+ def nownow26,714
195
+ def matches?(controller)matches?31,780
196
+ def descriptiondescription38,1002
197
+ def failure_messagefailure_message44,1169
198
+ def negative_failure_messagenegative_failure_message48,1246
199
+ def sets_the_flash?sets_the_flash?54,1355
200
+ def string_value_matches?string_value_matches?58,1420
201
+ def regexp_value_matches?regexp_value_matches?63,1569
202
+ def flashflash68,1718
203
+ def expectationexpectation81,2105
204
+ def flash_descriptionflash_description88,2349
205
+
206
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller/matchers.rb,137
207
+ module Shoulda # :nodoc:Shoulda12,672
208
+ module ActionController # :nodoc:ActionController13,697
209
+ module MatchersMatchers36,1410
210
+
211
+ /Users/kerry/dev/shoulda/lib/shoulda/action_controller.rb,320
212
+ module Test # :nodoc: allTest5,107
213
+ module UnitUnit6,133
214
+ class TestCaseTestCase7,147
215
+ module ActionController #:nodoc: allActionController17,369
216
+ module IntegrationIntegration18,406
217
+ class SessionSession19,427
218
+ class ActionController::TestCaseActionController29,665
219
+ def subjectsubject30,700
220
+
221
+ /Users/kerry/dev/shoulda/lib/shoulda/action_mailer/assertions.rb,248
222
+ module Shoulda # :nodoc:Shoulda1,0
223
+ module ActionMailer # :nodoc:ActionMailer2,25
224
+ module AssertionsAssertions3,57
225
+ def assert_sent_emailassert_sent_email18,598
226
+ def assert_did_not_send_emailassert_did_not_send_email33,1212
227
+
228
+ /Users/kerry/dev/shoulda/lib/shoulda/action_mailer/matchers/have_sent_email.rb,1040
229
+ module Shoulda # :nodoc:Shoulda1,0
230
+ module ActionMailer # :nodoc:ActionMailer2,25
231
+ module MatchersMatchers3,57
232
+ def have_sent_emailhave_sent_email15,629
233
+ class HaveSentEmailMatcher # :nodoc:HaveSentEmailMatcher19,699
234
+ def initializeinitialize21,743
235
+ def with_subject(email_subject)with_subject24,779
236
+ def from(sender)from29,888
237
+ def with_body(body)with_body34,968
238
+ def to(recipient)to39,1047
239
+ def matches?(subject)matches?44,1134
240
+ def failure_messagefailure_message56,1686
241
+ def negative_failure_messagenegative_failure_message60,1763
242
+ def descriptiondescription64,1855
243
+ def expectationexpectation70,1935
244
+ def inspect_deliveriesinspect_deliveries79,2374
245
+ def anything_failed?anything_failed?85,2571
246
+ def regexp_or_string_match(a_string, a_regexp_or_string)regexp_or_string_match89,2694
247
+ def regexp_or_string_match_in_array(an_array, a_regexp_or_string)regexp_or_string_match_in_array98,2950
248
+
249
+ /Users/kerry/dev/shoulda/lib/shoulda/action_mailer/matchers.rb,124
250
+ module Shoulda # :nodoc:Shoulda3,58
251
+ module ActionMailer # :nodoc:ActionMailer4,83
252
+ module MatchersMatchers19,765
253
+
254
+ /Users/kerry/dev/shoulda/lib/shoulda/action_mailer.rb,96
255
+ module Test # :nodoc: allTest5,103
256
+ module UnitUnit6,129
257
+ class TestCaseTestCase7,143
258
+
259
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/assertions.rb,424
260
+ module Shoulda # :nodoc:Shoulda1,0
261
+ module ActiveRecord # :nodoc:ActiveRecord2,25
262
+ module AssertionsAssertions3,57
263
+ def assert_save(obj)assert_save7,176
264
+ def assert_valid(obj)assert_valid15,391
265
+ def assert_good_value(object_or_klass, attribute, value, error_message_to_avoid = nil)assert_good_value35,1285
266
+ def assert_bad_value(object_or_klass, attribute, value,assert_bad_value59,2364
267
+
268
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/helpers.rb,272
269
+ module Shoulda # :nodoc:Shoulda1,0
270
+ module ActiveRecord # :nodoc:ActiveRecord2,25
271
+ module HelpersHelpers3,57
272
+ def pretty_error_messages(obj) # :nodoc:pretty_error_messages4,76
273
+ def default_error_message(key, values = {})default_error_message18,652
274
+
275
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/macros.rb,2021
276
+ module Shoulda # :nodoc:Shoulda1,0
277
+ module ActiveRecord # :nodoc:ActiveRecord2,25
278
+ module MacrosMacros22,791
279
+ def should_validate_presence_of(*attributes)should_validate_presence_of37,1349
280
+ def should_validate_uniqueness_of(*attributes)should_validate_uniqueness_of65,2752
281
+ def should_allow_mass_assignment_of(*attributes)should_allow_mass_assignment_of85,3570
282
+ def should_not_allow_mass_assignment_of(*attributes)should_not_allow_mass_assignment_of100,4095
283
+ def should_have_readonly_attributes(*attributes)should_have_readonly_attributes115,4649
284
+ def should_not_allow_values_for(attribute, *bad_values)should_not_allow_values_for136,5420
285
+ def should_allow_values_for(attribute, *good_values)should_allow_values_for151,6003
286
+ def should_ensure_length_in_range(attribute, range, opts = {})should_ensure_length_in_range172,6983
287
+ def should_ensure_length_at_least(attribute, min_length, opts = {})should_ensure_length_at_least195,8039
288
+ def should_ensure_length_is(attribute, length, opts = {})should_ensure_length_is215,8866
289
+ def should_ensure_value_in_range(attribute, range, opts = {})should_ensure_value_in_range236,9850
290
+ def should_validate_numericality_of(*attributes)should_validate_numericality_of260,10927
291
+ def should_have_many(*associations)should_have_many284,11902
292
+ def should_have_one(*associations)should_have_one304,12679
293
+ def should_have_and_belong_to_many(*associations)should_have_and_belong_to_many319,13281
294
+ def should_belong_to(*associations)should_belong_to334,13755
295
+ def should_have_class_methods(*methods)should_have_class_methods348,14216
296
+ def should_have_instance_methods(*methods)should_have_instance_methods365,14768
297
+ def should_have_db_columns(*columns)should_have_db_columns391,15844
298
+ def should_have_db_indices(*columns)should_have_db_indices425,17414
299
+ def should_validate_acceptance_of(*attributes)should_validate_acceptance_of447,18241
300
+
301
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/allow_mass_assignment_of_matcher.rb,704
302
+ module Shoulda # :nodoc:Shoulda1,0
303
+ module ActiveRecord # :nodoc:ActiveRecord2,25
304
+ module MatchersMatchers3,57
305
+ def allow_mass_assignment_of(value)allow_mass_assignment_of10,282
306
+ class AllowMassAssignmentOfMatcher # :nodoc:AllowMassAssignmentOfMatcher14,383
307
+ def initialize(attribute)initialize16,435
308
+ def matches?(subject)matches?20,520
309
+ def descriptiondescription49,1489
310
+ def protected_attributesprotected_attributes55,1594
311
+ def accessible_attributesaccessible_attributes59,1720
312
+ def whitelisting?whitelisting?63,1849
313
+ def attr_mass_assignable?attr_mass_assignable?67,1928
314
+ def class_nameclass_name75,2141
315
+
316
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/allow_value_matcher.rb,942
317
+ module Shoulda # :nodoc:Shoulda1,0
318
+ module ActiveRecord # :nodoc:ActiveRecord2,25
319
+ module MatchersMatchers3,57
320
+ def allow_value(value)allow_value16,544
321
+ class AllowValueMatcher # :nodoc:AllowValueMatcher20,621
322
+ def initialize(value)initialize23,686
323
+ def for(attribute)for27,754
324
+ def with_message(message)with_message32,842
325
+ def matches?(instance)matches?37,953
326
+ def failure_messagefailure_message46,1233
327
+ def negative_failure_messagenegative_failure_message50,1346
328
+ def descriptiondescription54,1458
329
+ def errors_match?errors_match?60,1575
330
+ def errors_for_attribute(instance, attribute)errors_for_attribute67,1865
331
+ def errors_match_regexp?errors_match_regexp?75,2088
332
+ def errors_match_string?errors_match_string?84,2331
333
+ def expectationexpectation93,2537
334
+ def error_descriptionerror_description99,2739
335
+
336
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/association_matcher.rb,1928
337
+ module Shoulda # :nodoc:Shoulda1,0
338
+ module ActiveRecord # :nodoc:ActiveRecord2,25
339
+ module MatchersMatchers3,57
340
+ def belong_to(name)belong_to9,193
341
+ def have_many(name)have_many27,865
342
+ def have_one(name)have_one42,1341
343
+ def have_and_belong_to_many(name)have_and_belong_to_many51,1611
344
+ class AssociationMatcher # :nodoc:AssociationMatcher55,1725
345
+ def initialize(macro, name)initialize56,1766
346
+ def through(through)through61,1864
347
+ def dependent(dependent)dependent66,1950
348
+ def matches?(subject)matches?71,2044
349
+ def failure_messagefailure_message81,2321
350
+ def negative_failure_messagenegative_failure_message85,2412
351
+ def descriptiondescription89,2504
352
+ def association_exists?association_exists?98,2767
353
+ def macro_correct?macro_correct?107,2961
354
+ def foreign_key_exists?foreign_key_exists?116,3178
355
+ def belongs_foreign_key_missing?belongs_foreign_key_missing?120,3293
356
+ def has_foreign_key_missing?has_foreign_key_missing?124,3419
357
+ def through_association_valid?through_association_valid?130,3600
358
+ def through_association_exists?through_association_exists?134,3741
359
+ def through_association_correct?through_association_correct?143,3986
360
+ def dependent_correct?dependent_correct?153,4321
361
+ def join_table_exists?join_table_exists?162,4587
362
+ def class_has_foreign_key?(klass)class_has_foreign_key?172,4889
363
+ def model_classmodel_class181,5145
364
+ def join_tablejoin_table185,5207
365
+ def associated_classassociated_class189,5285
366
+ def foreign_keyforeign_key193,5354
367
+ def through?through?197,5429
368
+ def reflectionreflection201,5502
369
+ def through_reflectionthrough_reflection205,5606
370
+ def expectationexpectation209,5729
371
+ def macro_descriptionmacro_description213,5846
372
+
373
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/ensure_inclusion_of_matcher.rb,855
374
+ module Shoulda # :nodoc:Shoulda1,0
375
+ module ActiveRecord # :nodoc:ActiveRecord2,25
376
+ module MatchersMatchers3,57
377
+ def ensure_inclusion_of(attr)ensure_inclusion_of19,721
378
+ class EnsureInclusionOfMatcher < ValidationMatcher # :nodoc:EnsureInclusionOfMatcher23,811
379
+ def in_range(range)in_range25,879
380
+ def with_message(message)with_message32,1025
381
+ def with_low_message(message)with_low_message40,1193
382
+ def with_high_message(message)with_high_message45,1303
383
+ def descriptiondescription50,1415
384
+ def matches?(subject)matches?54,1519
385
+ def disallows_lower_valuedisallows_lower_value68,1826
386
+ def disallows_higher_valuedisallows_higher_value72,1947
387
+ def allows_minimum_valueallows_minimum_value76,2053
388
+ def allows_maximum_valueallows_maximum_value80,2149
389
+
390
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/ensure_length_of_matcher.rb,1189
391
+ module Shoulda # :nodoc:Shoulda1,0
392
+ module ActiveRecord # :nodoc:ActiveRecord2,25
393
+ module MatchersMatchers3,57
394
+ def ensure_length_of(attr)ensure_length_of32,1436
395
+ class EnsureLengthOfMatcher < ValidationMatcher # :nodoc:EnsureLengthOfMatcher36,1520
396
+ def is_at_least(length)is_at_least39,1609
397
+ def is_at_most(length)is_at_most45,1737
398
+ def is_equal_to(length)is_equal_to51,1862
399
+ def with_short_message(message)with_short_message58,2021
400
+ def with_long_message(message)with_long_message64,2191
401
+ def descriptiondescription69,2303
402
+ def matches?(subject)matches?84,2806
403
+ def translate_messages!translate_messages!96,3113
404
+ def disallows_lower_lengthdisallows_lower_length108,3537
405
+ def disallows_higher_lengthdisallows_higher_length114,3703
406
+ def allows_minimum_lengthallows_minimum_length118,3828
407
+ def allows_maximum_lengthallows_maximum_length122,3928
408
+ def allows_length_of(length, message)allows_length_of126,4027
409
+ def disallows_length_of(length, message)disallows_length_of130,4162
410
+ def string_of_length(length)string_of_length134,4303
411
+
412
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/have_db_column_matcher.rb,1135
413
+ module Shoulda # :nodoc:Shoulda1,0
414
+ module ActiveRecord # :nodoc:ActiveRecord2,25
415
+ module MatchersMatchers3,57
416
+ def have_db_column(column)have_db_column18,607
417
+ class HaveDbColumnMatcher # :nodoc:HaveDbColumnMatcher22,708
418
+ def initialize(macro, column)initialize23,750
419
+ def of_type(column_type)of_type28,854
420
+ def with_options(opts = {})with_options33,952
421
+ def matches?(subject)matches?42,1201
422
+ def failure_messagefailure_message53,1489
423
+ def negative_failure_messagenegative_failure_message57,1580
424
+ def descriptiondescription61,1672
425
+ def column_exists?column_exists?75,2276
426
+ def correct_column_type?correct_column_type?84,2525
427
+ def correct_precision?correct_precision?95,2892
428
+ def correct_limit?correct_limit?107,3295
429
+ def correct_default?correct_default?119,3670
430
+ def correct_null?correct_null?131,4059
431
+ def correct_scale?correct_scale?143,4427
432
+ def matched_columnmatched_column154,4773
433
+ def model_classmodel_class158,4887
434
+ def expectationexpectation162,4949
435
+
436
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/have_db_index_matcher.rb,994
437
+ module Shoulda # :nodoc:Shoulda1,0
438
+ module ActiveRecord # :nodoc:ActiveRecord2,25
439
+ module MatchersMatchers3,57
440
+ def have_db_index(columns)have_db_index21,758
441
+ class HaveDbIndexMatcher # :nodoc:HaveDbIndexMatcher25,855
442
+ def initialize(macro, columns)initialize26,896
443
+ def unique(unique)unique31,1030
444
+ def matches?(subject)matches?36,1112
445
+ def failure_messagefailure_message41,1227
446
+ def negative_failure_messagenegative_failure_message45,1318
447
+ def descriptiondescription49,1410
448
+ def index_exists?index_exists?55,1542
449
+ def correct_unique?correct_unique?59,1612
450
+ def matched_indexmatched_index70,1960
451
+ def model_classmodel_class74,2060
452
+ def table_nametable_name78,2122
453
+ def indexesindexes82,2191
454
+ def expectationexpectation86,2286
455
+ def index_typeindex_type90,2384
456
+ def normalize_columns_to_array(columns)normalize_columns_to_array101,2573
457
+
458
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/have_readonly_attribute_matcher.rb,524
459
+ module Shoulda # :nodoc:Shoulda1,0
460
+ module ActiveRecord # :nodoc:ActiveRecord2,25
461
+ module MatchersMatchers3,57
462
+ def have_readonly_attribute(value)have_readonly_attribute10,249
463
+ class HaveReadonlyAttributeMatcher # :nodoc:HaveReadonlyAttributeMatcher14,349
464
+ def initialize(attribute)initialize16,401
465
+ def matches?(subject)matches?20,486
466
+ def descriptiondescription41,1201
467
+ def readonly_attributesreadonly_attributes47,1296
468
+ def class_nameclass_name51,1419
469
+
470
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/validate_acceptance_of_matcher.rb,438
471
+ module Shoulda # :nodoc:Shoulda1,0
472
+ module ActiveRecord # :nodoc:ActiveRecord2,25
473
+ module MatchersMatchers3,57
474
+ def validate_acceptance_of(attr)validate_acceptance_of16,473
475
+ class ValidateAcceptanceOfMatcher < ValidationMatcher # :nodoc:ValidateAcceptanceOfMatcher20,569
476
+ def with_message(message)with_message22,640
477
+ def matches?(subject)matches?27,751
478
+ def descriptiondescription33,916
479
+
480
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/validate_format_of_matcher.rb,559
481
+ module Shoulda # :nodoc:Shoulda1,0
482
+ module ActiveRecord # :nodoc:ActiveRecord2,25
483
+ module MatchersMatchers3,57
484
+ def validate_format_of(attr)validate_format_of23,841
485
+ class ValidateFormatOfMatcher < ValidationMatcher # :nodoc:ValidateFormatOfMatcher27,929
486
+ def initialize(attribute)initialize29,996
487
+ def with_message(message)with_message33,1059
488
+ def with(value)with38,1170
489
+ def not_with(value)not_with44,1331
490
+ def matches?(subject)matches?50,1496
491
+ def descriptiondescription57,1771
492
+
493
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/validate_numericality_of_matcher.rb,446
494
+ module Shoulda # :nodoc:Shoulda1,0
495
+ module ActiveRecord # :nodoc:ActiveRecord2,25
496
+ module MatchersMatchers3,57
497
+ def validate_numericality_of(attr)validate_numericality_of15,431
498
+ class ValidateNumericalityOfMatcher < ValidationMatcher # :nodoc:ValidateNumericalityOfMatcher19,531
499
+ def with_message(message)with_message21,604
500
+ def matches?(subject)matches?26,715
501
+ def descriptiondescription32,885
502
+
503
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/validate_presence_of_matcher.rb,519
504
+ module Shoulda # :nodoc:Shoulda1,0
505
+ module ActiveRecord # :nodoc:ActiveRecord2,25
506
+ module MatchersMatchers3,57
507
+ def validate_presence_of(attr)validate_presence_of18,594
508
+ class ValidatePresenceOfMatcher < ValidationMatcher # :nodoc:ValidatePresenceOfMatcher22,686
509
+ def with_message(message)with_message24,755
510
+ def matches?(subject)matches?29,866
511
+ def descriptiondescription35,1034
512
+ def blank_valueblank_value41,1132
513
+ def collection?collection?49,1254
514
+
515
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/validate_uniqueness_of_matcher.rb,941
516
+ module Shoulda # :nodoc:Shoulda1,0
517
+ module ActiveRecord # :nodoc:ActiveRecord2,25
518
+ module MatchersMatchers3,57
519
+ def validate_uniqueness_of(attr)validate_uniqueness_of33,1428
520
+ class ValidateUniquenessOfMatcher < ValidationMatcher # :nodoc:ValidateUniquenessOfMatcher37,1524
521
+ def initialize(attribute)initialize40,1619
522
+ def scoped_to(*scopes)scoped_to44,1699
523
+ def with_message(message)with_message49,1796
524
+ def case_insensitivecase_insensitive54,1896
525
+ def descriptiondescription59,1988
526
+ def matches?(subject)matches?67,2265
527
+ def find_existingfind_existing78,2541
528
+ def set_scoped_attributesset_scoped_attributes87,2761
529
+ def validate_attributevalidate_attribute102,3230
530
+ def validate_after_scope_changevalidate_after_scope_change109,3556
531
+ def class_nameclass_name135,4320
532
+ def existing_valueexisting_value139,4386
533
+
534
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers/validation_matcher.rb,502
535
+ module Shoulda # :nodoc:Shoulda1,0
536
+ module ActiveRecord # :nodoc:ActiveRecord2,25
537
+ module MatchersMatchers3,57
538
+ class ValidationMatcher # :nodoc:ValidationMatcher5,78
539
+ def initialize(attribute)initialize9,157
540
+ def negative_failure_messagenegative_failure_message13,237
541
+ def matches?(subject)matches?17,343
542
+ def allows_value_of(value, message = nil)allows_value_of24,448
543
+ def disallows_value_of(value, message = nil)disallows_value_of38,861
544
+
545
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record/matchers.rb,130
546
+ module Shoulda # :nodoc:Shoulda18,989
547
+ module ActiveRecord # :nodoc:ActiveRecord19,1014
548
+ module MatchersMatchers39,1811
549
+
550
+ /Users/kerry/dev/shoulda/lib/shoulda/active_record.rb,96
551
+ module Test # :nodoc: allTest7,182
552
+ module UnitUnit8,208
553
+ class TestCaseTestCase9,222
554
+
555
+ /Users/kerry/dev/shoulda/lib/shoulda/assertions.rb,476
556
+ module Shoulda # :nodoc:Shoulda1,0
557
+ module AssertionsAssertions2,25
558
+ def assert_same_elements(a1, a2, msg = nil)assert_same_elements6,233
559
+ def assert_contains(collection, x, extra_msg = "")assert_contains23,1070
560
+ def assert_does_not_contain(collection, x, extra_msg = "")assert_does_not_contain36,1591
561
+ def assert_accepts(matcher, target, options = {})assert_accepts48,2041
562
+ def assert_rejects(matcher, target, options = {})assert_rejects64,2535
563
+
564
+ /Users/kerry/dev/shoulda/lib/shoulda/autoload_macros.rb,101
565
+ module Shoulda # :nodoc:Shoulda1,0
566
+ def self.autoload_macros(root, *dirs)autoload_macros38,1624
567
+
568
+ /Users/kerry/dev/shoulda/lib/shoulda/context.rb,2340
569
+ module ShouldaShoulda1,0
570
+ def contexts # :nodoc:contexts4,59
571
+ def current_context # :nodoc:current_context8,118
572
+ def add_context(context) # :nodoc:add_context12,186
573
+ def remove_context # :nodoc:remove_context16,268
574
+ module ClassMethodsClassMethods21,340
575
+ def should(name_or_matcher, options = {}, &blk)should71,2001
576
+ def should_not(matcher)should_not90,2653
577
+ def before_should(name, &blk)before_should128,3734
578
+ def should_eventually(name, options = {}, &blk)should_eventually133,3920
579
+ def context(name, &blk)context195,6164
580
+ def described_typedescribed_type208,6530
581
+ def subject(&block)subject220,6854
582
+ def subject_block # :nodoc:subject_block224,6916
583
+ module InstanceMethodsInstanceMethods229,6984
584
+ def subjectsubject249,7571
585
+ def subject_block # :nodoc:subject_block253,7641
586
+ def get_instance_of(object_or_klass) # :nodoc:get_instance_of257,7769
587
+ def instance_variable_name_for(klass) # :nodoc:instance_variable_name_for265,7940
588
+ def construct_subjectconstruct_subject271,8059
589
+ class Context # :nodoc:Context280,8233
590
+ def initialize(name, parent, &blk)initialize291,8856
591
+ def merge_block(&blk)merge_block305,9241
592
+ def context(name, &blk)context309,9302
593
+ def setup(&blk)setup313,9395
594
+ def teardown(&blk)teardown317,9455
595
+ def should(name_or_matcher, options = {}, &blk)should321,9521
596
+ def should_not(matcher)should_not336,10007
597
+ def should_eventually(name, &blk)should_eventually342,10196
598
+ def subject(&block)subject346,10309
599
+ def subject_blocksubject_block350,10375
600
+ def full_namefull_name355,10479
601
+ def am_subcontext?am_subcontext?360,10610
602
+ def test_unit_classtest_unit_class364,10714
603
+ def test_methodstest_methods368,10802
604
+ def create_test_from_should_hash(should)create_test_from_should_hash374,10943
605
+ def run_all_setup_blocks(binding)run_all_setup_blocks397,11698
606
+ def run_parent_setup_blocks(binding)run_parent_setup_blocks402,11824
607
+ def run_current_setup_blocks(binding)run_current_setup_blocks406,11940
608
+ def run_all_teardown_blocks(binding)run_all_teardown_blocks412,12081
609
+ def print_should_eventuallysprint_should_eventuallys419,12307
610
+ def buildbuild426,12525
611
+ def method_missing(method, *args, &blk)method_missing436,12718
612
+
613
+ /Users/kerry/dev/shoulda/lib/shoulda/helpers.rb,107
614
+ module Shoulda # :nodoc:Shoulda1,0
615
+ module HelpersHelpers2,25
616
+ def report!(msg = "")report!4,120
617
+
618
+ /Users/kerry/dev/shoulda/lib/shoulda/integrations/rspec.rb,73
619
+ module ActiveSupportActiveSupport7,174
620
+ class TestCaseTestCase8,195
621
+
622
+ /Users/kerry/dev/shoulda/lib/shoulda/integrations/rspec2.rb,206
623
+ module RSpecRSpec7,140
624
+ module MatchersMatchers8,153
625
+ module RailsRails12,222
626
+ module ControllerExampleGroupControllerExampleGroup13,237
627
+ module MailerExampleGroupMailerExampleGroup17,330
628
+
629
+ /Users/kerry/dev/shoulda/lib/shoulda/integrations/test_unit.rb,99
630
+ module Test # :nodoc: allTest11,243
631
+ module UnitUnit12,269
632
+ class TestCaseTestCase13,283
633
+
634
+ /Users/kerry/dev/shoulda/lib/shoulda/macros.rb,450
635
+ module Shoulda # :nodoc:Shoulda3,35
636
+ module MacrosMacros4,60
637
+ def should_change(description, options = {}, &block)should_change54,2051
638
+ def should_not_change(description, &block)should_not_change102,4061
639
+ def should_create(class_name)should_create122,4780
640
+ def should_destroy(class_name)should_destroy138,5192
641
+ def should_change_record_count_of(class_name, amount, action) # :nodoc:should_change_record_count_of145,5352
642
+
643
+ /Users/kerry/dev/shoulda/lib/shoulda/private_helpers.rb,132
644
+ module Shoulda # :nodoc:Shoulda1,0
645
+ module Private # :nodoc:Private2,25
646
+ def get_options!(args, *wanted)get_options!5,225
647
+
648
+ /Users/kerry/dev/shoulda/lib/shoulda/proc_extensions.rb,59
649
+ class Proc #:nodoc:Proc3,38
650
+ def bind(object)bind4,58
651
+
652
+ /Users/kerry/dev/shoulda/lib/shoulda/rails.rb,0
653
+
654
+ /Users/kerry/dev/shoulda/lib/shoulda/tasks.rb,0
655
+
656
+ /Users/kerry/dev/shoulda/lib/shoulda/version.rb,27
657
+ module ShouldaShoulda1,0
658
+
659
+ /Users/kerry/dev/shoulda/lib/shoulda.rb,0
660
+
661
+ /Users/kerry/dev/shoulda/rails/init.rb,0
662
+
663
+ /Users/kerry/dev/shoulda/test/fail_macros.rb,430
664
+ module ShouldaShoulda1,0
665
+ module ClassMethodsClassMethods6,77
666
+ def should_fail(&block)should_fail14,391
667
+ class ContextContext28,813
668
+ def should_with_failure_scenario(*args, &block)should_with_failure_scenario30,898
669
+ def should_not_with_failure_scenario(*args, &block)should_not_with_failure_scenario37,1179
670
+ def wrap_last_should_with_failure_expectationwrap_last_should_with_failure_expectation43,1403
671
+
672
+ /Users/kerry/dev/shoulda/test/functional/posts_controller_test.rb,188
673
+ class PostsController; def rescue_action(e) raise e end; endPostsController5,94
674
+ class PostsControllerTest < ActionController::TestCasePostsControllerTest7,156
675
+ def setupsetup10,228
676
+
677
+ /Users/kerry/dev/shoulda/test/functional/users_controller_test.rb,188
678
+ class UsersController; def rescue_action(e) raise e end; endUsersController5,94
679
+ class UsersControllerTest < ActionController::TestCaseUsersControllerTest7,156
680
+ def setupsetup10,228
681
+
682
+ /Users/kerry/dev/shoulda/test/matchers/action_mailer/have_sent_email_test.rb,179
683
+ class HaveSentEmailTest < ActiveSupport::TestCase # :nodoc:HaveSentEmailTest3,23
684
+ def add_mail_to_deliveriesadd_mail_to_deliveries4,83
685
+ def the_emailthe_email15,388
686
+
687
+ /Users/kerry/dev/shoulda/test/matchers/active_record/allow_mass_assignment_of_matcher_test.rb,113
688
+ class AllowMassAssignmentOfMatcherTest < ActiveSupport::TestCase # :nodoc:AllowMassAssignmentOfMatcherTest3,23
689
+
690
+ /Users/kerry/dev/shoulda/test/matchers/active_record/allow_value_matcher_test.rb,91
691
+ class AllowValueMatcherTest < ActiveSupport::TestCase # :nodoc:AllowValueMatcherTest3,23
692
+
693
+ /Users/kerry/dev/shoulda/test/matchers/active_record/association_matcher_test.rb,93
694
+ class AssociationMatcherTest < ActiveSupport::TestCase # :nodoc:AssociationMatcherTest3,23
695
+
696
+ /Users/kerry/dev/shoulda/test/matchers/active_record/ensure_inclusion_of_matcher_test.rb,161
697
+ class EnsureInclusionOfMatcherTest < ActiveSupport::TestCase # :nodoc:EnsureInclusionOfMatcherTest3,23
698
+ def custom_validationcustom_validation60,1829
699
+
700
+ /Users/kerry/dev/shoulda/test/matchers/active_record/ensure_length_of_matcher_test.rb,91
701
+ class EnsureLengthOfMatcher < ActiveSupport::TestCase # :nodoc:EnsureLengthOfMatcher3,23
702
+
703
+ /Users/kerry/dev/shoulda/test/matchers/active_record/have_db_column_matcher_test.rb,95
704
+ class HaveDbColumnMatcherTest < ActiveSupport::TestCase # :nodoc:HaveDbColumnMatcherTest3,23
705
+
706
+ /Users/kerry/dev/shoulda/test/matchers/active_record/have_db_index_matcher_test.rb,93
707
+ class HaveDbIndexMatcherTest < ActiveSupport::TestCase # :nodoc:HaveDbIndexMatcherTest3,23
708
+
709
+ /Users/kerry/dev/shoulda/test/matchers/active_record/have_readonly_attributes_matcher_test.rb,115
710
+ class HaveReadonlyAttributesMatcherTest < ActiveSupport::TestCase # :nodoc:HaveReadonlyAttributesMatcherTest3,23
711
+
712
+ /Users/kerry/dev/shoulda/test/matchers/active_record/validate_acceptance_of_matcher_test.rb,111
713
+ class ValidateAcceptanceOfMatcherTest < ActiveSupport::TestCase # :nodoc:ValidateAcceptanceOfMatcherTest3,23
714
+
715
+ /Users/kerry/dev/shoulda/test/matchers/active_record/validate_format_of_matcher_test.rb,103
716
+ class ValidateFormatOfMatcherTest < ActiveSupport::TestCase # :nodoc:ValidateFormatOfMatcherTest3,23
717
+
718
+ /Users/kerry/dev/shoulda/test/matchers/active_record/validate_numericality_of_matcher_test.rb,115
719
+ class ValidateNumericalityOfMatcherTest < ActiveSupport::TestCase # :nodoc:ValidateNumericalityOfMatcherTest3,23
720
+
721
+ /Users/kerry/dev/shoulda/test/matchers/active_record/validate_presence_of_matcher_test.rb,107
722
+ class ValidatePresenceOfMatcherTest < ActiveSupport::TestCase # :nodoc:ValidatePresenceOfMatcherTest3,23
723
+
724
+ /Users/kerry/dev/shoulda/test/matchers/active_record/validate_uniqueness_of_matcher_test.rb,111
725
+ class ValidateUniquenessOfMatcherTest < ActiveSupport::TestCase # :nodoc:ValidateUniquenessOfMatcherTest3,23
726
+
727
+ /Users/kerry/dev/shoulda/test/matchers/controller/assign_to_matcher_test.rb,90
728
+ class AssignToMatcherTest < ActionController::TestCase # :nodoc:AssignToMatcherTest3,23
729
+
730
+ /Users/kerry/dev/shoulda/test/matchers/controller/filter_param_matcher_test.rb,96
731
+ class FilterParamMatcherTest < ActionController::TestCase # :nodoc:FilterParamMatcherTest3,23
732
+
733
+ /Users/kerry/dev/shoulda/test/matchers/controller/redirect_to_matcher_test.rb,94
734
+ class RedirectToMatcherTest < ActionController::TestCase # :nodoc:RedirectToMatcherTest3,23
735
+
736
+ /Users/kerry/dev/shoulda/test/matchers/controller/render_template_matcher_test.rb,102
737
+ class RenderTemplateMatcherTest < ActionController::TestCase # :nodoc:RenderTemplateMatcherTest3,23
738
+
739
+ /Users/kerry/dev/shoulda/test/matchers/controller/render_with_layout_matcher_test.rb,106
740
+ class RenderWithLayoutMatcherTest < ActionController::TestCase # :nodoc:RenderWithLayoutMatcherTest3,23
741
+
742
+ /Users/kerry/dev/shoulda/test/matchers/controller/respond_with_content_type_matcher_test.rb,118
743
+ class RespondWithContentTypeMatcherTest < ActionController::TestCase # :nodoc:RespondWithContentTypeMatcherTest3,23
744
+
745
+ /Users/kerry/dev/shoulda/test/matchers/controller/respond_with_matcher_test.rb,96
746
+ class RespondWithMatcherTest < ActionController::TestCase # :nodoc:RespondWithMatcherTest3,23
747
+
748
+ /Users/kerry/dev/shoulda/test/matchers/controller/route_matcher_test.rb,88
749
+ class RouteToMatcherTest < ActionController::TestCase # :nodoc:RouteToMatcherTest3,23
750
+
751
+ /Users/kerry/dev/shoulda/test/matchers/controller/set_session_matcher_test.rb,94
752
+ class SetSessionMatcherTest < ActionController::TestCase # :nodoc:SetSessionMatcherTest3,23
753
+
754
+ /Users/kerry/dev/shoulda/test/matchers/controller/set_the_flash_matcher.rb,96
755
+ class SetTheFlashMatcherTest < ActionController::TestCase # :nodoc:SetTheFlashMatcherTest3,23
756
+
757
+ /Users/kerry/dev/shoulda/test/other/autoload_macro_test.rb,83
758
+ class AutoloadMacroTest < ActiveSupport::TestCase # :nodoc:AutoloadMacroTest3,23
759
+
760
+ /Users/kerry/dev/shoulda/test/other/context_test.rb,1383
761
+ class ContextTest < ActiveSupport::TestCase # :nodoc:ContextTest3,23
762
+ def self.context_macro(&blk)context_macro5,78
763
+ def hello; "hi"; endhello79,1830
764
+ class ShouldMatcherTest < Test::Unit::TestCaseShouldMatcherTest177,4229
765
+ class FakeMatcherFakeMatcher178,4276
766
+ def descriptiondescription182,4346
767
+ def matches?(subject)matches?186,4396
768
+ def failure_messagefailure_message191,4469
769
+ def negative_failure_messagenegative_failure_message195,4528
770
+ def run_testrun_test200,4606
771
+ def setupsetup204,4680
772
+ def failure_messagesfailure_messages208,4795
773
+ def create_test_suite(&definition)create_test_suite214,4899
774
+ def assert_failed_with(message, test_result)assert_failed_with219,5026
775
+ def assert_passed(test_result)assert_passed224,5183
776
+ def assert_test_named(expected_name, test_suite)assert_test_named228,5269
777
+ def self.should_use_positive_matchershould_use_positive_matcher233,5481
778
+ def self.should_use_negative_matchershould_use_negative_matcher257,6094
779
+ class Subject; endSubject334,7818
780
+ class SubjectTest < ActiveSupport::TestCaseSubjectTest336,7838
781
+ def setupsetup338,7883
782
+ class SubjectLazinessTest < ActiveSupport::TestCaseSubjectLazinessTest349,8043
783
+ class SomeController < ActionController::BaseSomeController357,8209
784
+ class ControllerSubjectTest < ActionController::TestCaseControllerSubjectTest360,8260
785
+
786
+ /Users/kerry/dev/shoulda/test/other/convert_to_should_syntax_test.rb,549
787
+ class ConvertToShouldSyntaxTest < ActiveSupport::TestCase # :nodoc:ConvertToShouldSyntaxTest3,21
788
+ class DummyTest < ActiveSupport::TestCaseDummyTest6,116
789
+ def test_should_be_workingtest_should_be_working11,230
790
+ def test_some_cool_stufftest_some_cool_stuff15,294
791
+ def non_test_methodnon_test_method19,356
792
+ class DummyTest < ActiveSupport::TestCaseDummyTest26,433
793
+ def non_test_methodnon_test_method39,688
794
+ def test_convert_to_should_syntaxtest_convert_to_should_syntax49,831
795
+ def teardownteardown59,1258
796
+
797
+ /Users/kerry/dev/shoulda/test/other/helpers_test.rb,71
798
+ class HelpersTest < ActiveSupport::TestCase # :nodoc:HelpersTest5,63
799
+
800
+ /Users/kerry/dev/shoulda/test/other/private_helpers_test.rb,85
801
+ class PrivateHelpersTest < ActiveSupport::TestCase # :nodoc:PrivateHelpersTest3,23
802
+
803
+ /Users/kerry/dev/shoulda/test/other/should_test.rb,1950
804
+ class ShouldTest < ActiveSupport::TestCase # :nodoc:ShouldTest3,23
805
+ def self.should_see_class_methodsshould_see_class_methods12,278
806
+ def self.should_be_able_to_setup_a_should_eventually_in_a_class_methodshould_be_able_to_setup_a_should_eventually_in_a_class_method18,392
807
+ def self.should_see_a_context_block_like_a_Test_Unit_classshould_see_a_context_block_like_a_Test_Unit_class22,540
808
+ def self.should_see_blahshould_see_blah28,723
809
+ def self.should_not_see_blahshould_not_see_blah34,826
810
+ def self.should_be_able_to_make_context_macros(prefix = nil)should_be_able_to_make_context_macros40,941
811
+ def test_should_create_a_new_contexttest_should_create_a_new_context125,2980
812
+ def test_should_create_a_nested_contexttest_should_create_a_nested_context131,3120
813
+ def test_should_name_a_contexts_correctlytest_should_name_a_contexts_correctly138,3327
814
+ def test_should_have_should_hashes_when_given_should_statementstest_should_have_should_hashes_when_given_should_statements150,3752
815
+ def test_should_capture_setup_and_teardown_blockstest_should_capture_setup_and_teardown_blocks162,4071
816
+ def test_should_create_shoulda_test_for_each_should_on_buildtest_should_create_shoulda_test_for_each_should_on_build174,4400
817
+ def test_should_create_test_methods_on_buildtest_should_create_test_methods_on_build184,4768
818
+ def test_should_create_test_methods_on_build_when_subcontexttest_should_create_test_methods_on_build_when_subcontext194,5075
819
+ def test_should_create_a_new_context_and_build_it_on_Test_Unit_contexttest_should_create_a_new_context_and_build_it_on_Test_Unit_context208,5483
820
+ def test_should_create_a_one_off_context_and_build_it_on_Test_Unit_shouldtest_should_create_a_one_off_context_and_build_it_on_Test_Unit_should215,5720
821
+ def test_should_create_a_one_off_context_and_build_it_on_Test_Unit_should_eventuallytest_should_create_a_one_off_context_and_build_it_on_Test_Unit_should_eventually222,5990
822
+
823
+ /Users/kerry/dev/shoulda/test/rails2_model_builder.rb,672
824
+ class ActiveSupport::TestCaseActiveSupport1,0
825
+ def create_table(table_name, &block)create_table6,144
826
+ def define_constant(class_name, base, &block)define_constant21,554
827
+ def define_model_class(class_name, &block)define_model_class35,845
828
+ def define_model(name, columns = {}, &block)define_model39,957
829
+ def define_mailer(name, paths, &block)define_mailer52,1264
830
+ def define_controller(class_name, &block)define_controller60,1541
831
+ def define_routes(&block)define_routes66,1755
832
+ def build_response(opts = {}, &block)build_response75,2028
833
+ def create_view(path, contents)create_view95,2631
834
+ def teardown_with_modelsteardown_with_models101,2828
835
+
836
+ /Users/kerry/dev/shoulda/test/rails2_root/app/controllers/application_controller.rb,127
837
+ class ApplicationController < ActionController::BaseApplicationController4,154
838
+ def ensure_logged_inensure_logged_in5,207
839
+
840
+ /Users/kerry/dev/shoulda/test/rails2_root/app/controllers/posts_controller.rb,276
841
+ class PostsController < ApplicationControllerPostsController1,0
842
+ def indexindex5,108
843
+ def showshow21,511
844
+ def newnew31,728
845
+ def editedit36,803
846
+ def createcreate40,863
847
+ def updateupdate55,1324
848
+ def destroydestroy70,1759
849
+ def load_userload_user84,2020
850
+
851
+ /Users/kerry/dev/shoulda/test/rails2_root/app/controllers/users_controller.rb,242
852
+ class UsersController < ApplicationControllerUsersController1,0
853
+ def indexindex7,118
854
+ def showshow18,323
855
+ def newnew28,512
856
+ def editedit33,572
857
+ def createcreate39,661
858
+ def updateupdate56,1117
859
+ def destroydestroy73,1572
860
+
861
+ /Users/kerry/dev/shoulda/test/rails2_root/app/helpers/application_helper.rb,48
862
+ module ApplicationHelperApplicationHelper2,86
863
+
864
+ /Users/kerry/dev/shoulda/test/rails2_root/app/helpers/posts_helper.rb,35
865
+ module PostsHelperPostsHelper1,0
866
+
867
+ /Users/kerry/dev/shoulda/test/rails2_root/app/helpers/users_helper.rb,35
868
+ module UsersHelperUsersHelper1,0
869
+
870
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/address.rb,47
871
+ class Address < ActiveRecord::BaseAddress1,0
872
+
873
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/flea.rb,89
874
+ class Flea < ActiveRecord::BaseFlea1,0
875
+ def send_notificationsend_notification8,111
876
+
877
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/friendship.rb,53
878
+ class Friendship < ActiveRecord::BaseFriendship1,0
879
+
880
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/notifier.rb,80
881
+ class Notifier < ActionMailer::BaseNotifier1,0
882
+ def the_emailthe_email2,36
883
+
884
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/pets/cat.rb,63
885
+ module PetsPets1,0
886
+ class Cat < ActiveRecord::BaseCat2,12
887
+
888
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/pets/dog.rb,63
889
+ module PetsPets1,0
890
+ class Dog < ActiveRecord::BaseDog2,12
891
+
892
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/post.rb,41
893
+ class Post < ActiveRecord::BasePost1,0
894
+
895
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/product.rb,47
896
+ class Product < ActiveRecord::BaseProduct1,0
897
+
898
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/profile.rb,47
899
+ class Profile < ActiveRecord::BaseProfile1,0
900
+
901
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/registration.rb,57
902
+ class Registration < ActiveRecord::BaseRegistration1,0
903
+
904
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/tag.rb,39
905
+ class Tag < ActiveRecord::BaseTag1,0
906
+
907
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/tagging.rb,47
908
+ class Tagging < ActiveRecord::BaseTagging1,0
909
+
910
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/treat.rb,43
911
+ class Treat < ActiveRecord::BaseTreat1,0
912
+
913
+ /Users/kerry/dev/shoulda/test/rails2_root/app/models/user.rb,102
914
+ class User < ActiveRecord::BaseUser1,0
915
+ def self.recent_via_method(count)recent_via_method17,571
916
+
917
+ /Users/kerry/dev/shoulda/test/rails2_root/config/boot.rb,795
918
+ module RailsRails6,175
919
+ def boot!boot!8,204
920
+ def booted?booted?15,302
921
+ def pick_bootpick_boot19,361
922
+ def vendor_rails?vendor_rails?23,437
923
+ def preinitializepreinitialize27,516
924
+ def preinitializer_pathpreinitializer_path31,615
925
+ class BootBoot36,705
926
+ def runrun37,718
927
+ class VendorBoot < BootVendorBoot43,813
928
+ def load_initializerload_initializer44,839
929
+ class GemBoot < BootGemBoot51,1048
930
+ def load_initializerload_initializer52,1071
931
+ def load_rails_gemload_rails_gem58,1185
932
+ def rubygems_versionrubygems_version70,1676
933
+ def gem_versiongem_version74,1754
934
+ def load_rubygemsload_rubygems84,2010
935
+ def parse_gem_version(text)parse_gem_version97,2499
936
+ def read_environment_rbread_environment_rb102,2640
937
+
938
+ /Users/kerry/dev/shoulda/test/rails2_root/config/environment.rb,0
939
+
940
+ /Users/kerry/dev/shoulda/test/rails2_root/config/environments/test.rb,0
941
+
942
+ /Users/kerry/dev/shoulda/test/rails2_root/config/initializers/new_rails_defaults.rb,0
943
+
944
+ /Users/kerry/dev/shoulda/test/rails2_root/config/initializers/shoulda.rb,0
945
+
946
+ /Users/kerry/dev/shoulda/test/rails2_root/config/routes.rb,0
947
+
948
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/001_create_users.rb,110
949
+ class CreateUsers < ActiveRecord::MigrationCreateUsers1,0
950
+ def self.upup2,44
951
+ def self.downdown16,411
952
+
953
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/002_create_posts.rb,110
954
+ class CreatePosts < ActiveRecord::MigrationCreatePosts1,0
955
+ def self.upup2,44
956
+ def self.downdown10,197
957
+
958
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/003_create_taggings.rb,115
959
+ class CreateTaggings < ActiveRecord::MigrationCreateTaggings1,0
960
+ def self.upup2,47
961
+ def self.downdown9,177
962
+
963
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/004_create_tags.rb,107
964
+ class CreateTags < ActiveRecord::MigrationCreateTags1,0
965
+ def self.upup2,43
966
+ def self.downdown8,132
967
+
968
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/005_create_dogs.rb,107
969
+ class CreateDogs < ActiveRecord::MigrationCreateDogs1,0
970
+ def self.upup2,43
971
+ def self.downdown9,174
972
+
973
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/006_create_addresses.rb,118
974
+ class CreateAddresses < ActiveRecord::MigrationCreateAddresses1,0
975
+ def self.upup2,48
976
+ def self.downdown11,255
977
+
978
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/007_create_fleas.rb,109
979
+ class CreateFleas < ActiveRecord::MigrationCreateFleas1,0
980
+ def self.upup2,44
981
+ def self.downdown8,125
982
+
983
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/008_create_dogs_fleas.rb,117
984
+ class CreateDogsFleas < ActiveRecord::MigrationCreateDogsFleas1,0
985
+ def self.upup2,48
986
+ def self.downdown9,162
987
+
988
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/009_create_products.rb,116
989
+ class CreateProducts < ActiveRecord::MigrationCreateProducts1,0
990
+ def self.upup2,47
991
+ def self.downdown14,246
992
+
993
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/010_create_friendships.rb,122
994
+ class CreateFriendships < ActiveRecord::MigrationCreateFriendships1,0
995
+ def self.upup2,50
996
+ def self.downdown11,188
997
+
998
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/011_create_treats.rb,111
999
+ class CreateTreats < ActiveRecord::MigrationCreateTreats1,0
1000
+ def self.upup2,45
1001
+ def self.downdown9,149
1002
+
1003
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/20090506203502_create_profiles.rb,115
1004
+ class CreateProfiles < ActiveRecord::MigrationCreateProfiles1,0
1005
+ def self.upup2,47
1006
+ def self.downdown9,130
1007
+
1008
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/20090506203536_create_registrations.rb,126
1009
+ class CreateRegistrations < ActiveRecord::MigrationCreateRegistrations1,0
1010
+ def self.upup2,52
1011
+ def self.downdown11,193
1012
+
1013
+ /Users/kerry/dev/shoulda/test/rails2_root/db/migrate/20090513104502_create_cats.rb,107
1014
+ class CreateCats < ActiveRecord::MigrationCreateCats1,0
1015
+ def self.upup2,43
1016
+ def self.downdown9,174
1017
+
1018
+ /Users/kerry/dev/shoulda/test/rails2_root/db/schema.rb,0
1019
+
1020
+ /Users/kerry/dev/shoulda/test/rails2_root/test/shoulda_macros/custom_macro.rb,72
1021
+ module CustomMacroCustomMacro1,0
1022
+ def custom_macrocustom_macro2,19
1023
+
1024
+ /Users/kerry/dev/shoulda/test/rails2_test_helper.rb,0
1025
+
1026
+ /Users/kerry/dev/shoulda/test/rails3_model_builder.rb,671
1027
+ class ActiveSupport::TestCaseActiveSupport1,0
1028
+ def create_table(table_name, &block)create_table6,144
1029
+ def define_constant(class_name, base, &block)define_constant21,554
1030
+ def define_model_class(class_name, &block)define_model_class35,845
1031
+ def define_model(name, columns = {}, &block)define_model39,957
1032
+ def define_mailer(name, paths, &block)define_mailer52,1264
1033
+ def define_controller(class_name, &block)define_controller57,1426
1034
+ def define_routes(&block)define_routes63,1640
1035
+ def build_response(opts = {}, &block)build_response67,1717
1036
+ def create_view(path, contents)create_view89,2453
1037
+ def teardown_with_modelsteardown_with_models95,2650
1038
+
1039
+ /Users/kerry/dev/shoulda/test/rails3_root/app/controllers/application_controller.rb,127
1040
+ class ApplicationController < ActionController::BaseApplicationController4,154
1041
+ def ensure_logged_inensure_logged_in5,207
1042
+
1043
+ /Users/kerry/dev/shoulda/test/rails3_root/app/controllers/posts_controller.rb,276
1044
+ class PostsController < ApplicationControllerPostsController1,0
1045
+ def indexindex5,108
1046
+ def showshow21,511
1047
+ def newnew31,728
1048
+ def editedit36,803
1049
+ def createcreate40,863
1050
+ def updateupdate55,1324
1051
+ def destroydestroy70,1759
1052
+ def load_userload_user84,2020
1053
+
1054
+ /Users/kerry/dev/shoulda/test/rails3_root/app/controllers/users_controller.rb,241
1055
+ class UsersController < ApplicationControllerUsersController1,0
1056
+ def indexindex5,83
1057
+ def showshow16,288
1058
+ def newnew26,477
1059
+ def editedit31,537
1060
+ def createcreate37,626
1061
+ def updateupdate54,1082
1062
+ def destroydestroy71,1537
1063
+
1064
+ /Users/kerry/dev/shoulda/test/rails3_root/app/helpers/application_helper.rb,47
1065
+ module ApplicationHelperApplicationHelper1,0
1066
+
1067
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/address.rb,47
1068
+ class Address < ActiveRecord::BaseAddress1,0
1069
+
1070
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/flea.rb,89
1071
+ class Flea < ActiveRecord::BaseFlea1,0
1072
+ def send_notificationsend_notification8,111
1073
+
1074
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/friendship.rb,53
1075
+ class Friendship < ActiveRecord::BaseFriendship1,0
1076
+
1077
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/notifier.rb,80
1078
+ class Notifier < ActionMailer::BaseNotifier1,0
1079
+ def the_emailthe_email2,36
1080
+
1081
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/pets/cat.rb,63
1082
+ module PetsPets1,0
1083
+ class Cat < ActiveRecord::BaseCat2,12
1084
+
1085
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/pets/dog.rb,63
1086
+ module PetsPets1,0
1087
+ class Dog < ActiveRecord::BaseDog2,12
1088
+
1089
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/post.rb,41
1090
+ class Post < ActiveRecord::BasePost1,0
1091
+
1092
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/product.rb,47
1093
+ class Product < ActiveRecord::BaseProduct1,0
1094
+
1095
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/profile.rb,47
1096
+ class Profile < ActiveRecord::BaseProfile1,0
1097
+
1098
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/registration.rb,57
1099
+ class Registration < ActiveRecord::BaseRegistration1,0
1100
+
1101
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/tag.rb,39
1102
+ class Tag < ActiveRecord::BaseTag1,0
1103
+
1104
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/tagging.rb,47
1105
+ class Tagging < ActiveRecord::BaseTagging1,0
1106
+
1107
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/treat.rb,43
1108
+ class Treat < ActiveRecord::BaseTreat1,0
1109
+
1110
+ /Users/kerry/dev/shoulda/test/rails3_root/app/models/user.rb,102
1111
+ class User < ActiveRecord::BaseUser1,0
1112
+ def self.recent_via_method(count)recent_via_method17,553
1113
+
1114
+ /Users/kerry/dev/shoulda/test/rails3_root/config/application.rb,95
1115
+ module Rails3RootRails3Root9,259
1116
+ class Application < Rails::ApplicationApplication10,277
1117
+
1118
+ /Users/kerry/dev/shoulda/test/rails3_root/config/boot.rb,0
1119
+
1120
+ /Users/kerry/dev/shoulda/test/rails3_root/config/environment.rb,0
1121
+
1122
+ /Users/kerry/dev/shoulda/test/rails3_root/config/environments/development.rb,0
1123
+
1124
+ /Users/kerry/dev/shoulda/test/rails3_root/config/environments/production.rb,0
1125
+
1126
+ /Users/kerry/dev/shoulda/test/rails3_root/config/environments/test.rb,0
1127
+
1128
+ /Users/kerry/dev/shoulda/test/rails3_root/config/initializers/backtrace_silencers.rb,0
1129
+
1130
+ /Users/kerry/dev/shoulda/test/rails3_root/config/initializers/inflections.rb,0
1131
+
1132
+ /Users/kerry/dev/shoulda/test/rails3_root/config/initializers/mime_types.rb,0
1133
+
1134
+ /Users/kerry/dev/shoulda/test/rails3_root/config/initializers/secret_token.rb,0
1135
+
1136
+ /Users/kerry/dev/shoulda/test/rails3_root/config/initializers/session_store.rb,0
1137
+
1138
+ /Users/kerry/dev/shoulda/test/rails3_root/config/routes.rb,0
1139
+
1140
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/001_create_users.rb,110
1141
+ class CreateUsers < ActiveRecord::MigrationCreateUsers1,0
1142
+ def self.upup2,44
1143
+ def self.downdown16,411
1144
+
1145
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/002_create_posts.rb,110
1146
+ class CreatePosts < ActiveRecord::MigrationCreatePosts1,0
1147
+ def self.upup2,44
1148
+ def self.downdown10,197
1149
+
1150
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/003_create_taggings.rb,115
1151
+ class CreateTaggings < ActiveRecord::MigrationCreateTaggings1,0
1152
+ def self.upup2,47
1153
+ def self.downdown9,177
1154
+
1155
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/004_create_tags.rb,107
1156
+ class CreateTags < ActiveRecord::MigrationCreateTags1,0
1157
+ def self.upup2,43
1158
+ def self.downdown8,132
1159
+
1160
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/005_create_dogs.rb,107
1161
+ class CreateDogs < ActiveRecord::MigrationCreateDogs1,0
1162
+ def self.upup2,43
1163
+ def self.downdown9,174
1164
+
1165
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/006_create_addresses.rb,118
1166
+ class CreateAddresses < ActiveRecord::MigrationCreateAddresses1,0
1167
+ def self.upup2,48
1168
+ def self.downdown11,255
1169
+
1170
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/007_create_fleas.rb,109
1171
+ class CreateFleas < ActiveRecord::MigrationCreateFleas1,0
1172
+ def self.upup2,44
1173
+ def self.downdown8,125
1174
+
1175
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/008_create_dogs_fleas.rb,117
1176
+ class CreateDogsFleas < ActiveRecord::MigrationCreateDogsFleas1,0
1177
+ def self.upup2,48
1178
+ def self.downdown9,176
1179
+
1180
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/009_create_products.rb,116
1181
+ class CreateProducts < ActiveRecord::MigrationCreateProducts1,0
1182
+ def self.upup2,47
1183
+ def self.downdown14,246
1184
+
1185
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/010_create_friendships.rb,122
1186
+ class CreateFriendships < ActiveRecord::MigrationCreateFriendships1,0
1187
+ def self.upup2,50
1188
+ def self.downdown11,188
1189
+
1190
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/011_create_treats.rb,111
1191
+ class CreateTreats < ActiveRecord::MigrationCreateTreats1,0
1192
+ def self.upup2,45
1193
+ def self.downdown9,149
1194
+
1195
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/20090506203502_create_profiles.rb,115
1196
+ class CreateProfiles < ActiveRecord::MigrationCreateProfiles1,0
1197
+ def self.upup2,47
1198
+ def self.downdown9,130
1199
+
1200
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/20090506203536_create_registrations.rb,126
1201
+ class CreateRegistrations < ActiveRecord::MigrationCreateRegistrations1,0
1202
+ def self.upup2,52
1203
+ def self.downdown11,193
1204
+
1205
+ /Users/kerry/dev/shoulda/test/rails3_root/db/migrate/20090513104502_create_cats.rb,107
1206
+ class CreateCats < ActiveRecord::MigrationCreateCats1,0
1207
+ def self.upup2,43
1208
+ def self.downdown9,174
1209
+
1210
+ /Users/kerry/dev/shoulda/test/rails3_root/db/seeds.rb,0
1211
+
1212
+ /Users/kerry/dev/shoulda/test/rails3_root/test/performance/browsing_test.rb,112
1213
+ class BrowsingTest < ActionDispatch::PerformanceTestBrowsingTest5,134
1214
+ def test_homepagetest_homepage6,187
1215
+
1216
+ /Users/kerry/dev/shoulda/test/rails3_root/test/test_helper.rb,50
1217
+ class ActiveSupport::TestCaseActiveSupport5,116
1218
+
1219
+ /Users/kerry/dev/shoulda/test/rails3_test_helper.rb,0
1220
+
1221
+ /Users/kerry/dev/shoulda/test/rspec_test.rb,1037
1222
+ class RspecTest < ActiveSupport::TestCaseRspecTest11,197
1223
+ def setupsetup16,333
1224
+ def teardownteardown20,376
1225
+ def create_projectcreate_project62,1584
1226
+ def vendor_gems(env)vendor_gems66,1653
1227
+ def unpack_gemsunpack_gems70,1745
1228
+ def command(command)command83,2145
1229
+ def project_command(command)project_command93,2419
1230
+ def shoulda_command(command)shoulda_command101,2571
1231
+ def project_nameproject_name107,2683
1232
+ def project_dirproject_dir111,2743
1233
+ def insert(content, path, after = nil)insert115,2844
1234
+ def rspec_dependenciesrspec_dependencies126,3161
1235
+ def configure_spec_railsconfigure_spec_rails134,3376
1236
+ def assert_configuredassert_configured138,3460
1237
+ def create_modelcreate_model145,3577
1238
+ def create_controllercreate_controller155,3922
1239
+ def migratemigrate172,4529
1240
+ def assert_spec_passesassert_spec_passes176,4594
1241
+ def shoulda_rootshoulda_root182,4800
1242
+ def build_gemspecbuild_gemspec186,4849
1243
+ def backup_gemspecbackup_gemspec194,5068
1244
+
1245
+ /Users/kerry/dev/shoulda/test/test_helper.rb,60
1246
+ class ActiveSupport::TestCase #:nodoc:ActiveSupport27,605
1247
+
1248
+ /Users/kerry/dev/shoulda/test/unit/address_test.rb,61
1249
+ class AddressTest < ActiveSupport::TestCaseAddressTest3,23
1250
+
1251
+ /Users/kerry/dev/shoulda/test/unit/cat_test.rb,56
1252
+ class Pets::CatTest < ActiveSupport::TestCasePets3,23
1253
+
1254
+ /Users/kerry/dev/shoulda/test/unit/dog_test.rb,56
1255
+ class Pets::DogTest < ActiveSupport::TestCasePets3,23
1256
+
1257
+ /Users/kerry/dev/shoulda/test/unit/flea_test.rb,55
1258
+ class FleaTest < ActiveSupport::TestCaseFleaTest3,23
1259
+
1260
+ /Users/kerry/dev/shoulda/test/unit/friendship_test.rb,67
1261
+ class FriendshipTest < ActiveSupport::TestCaseFriendshipTest3,23
1262
+
1263
+ /Users/kerry/dev/shoulda/test/unit/post_test.rb,55
1264
+ class PostTest < ActiveSupport::TestCasePostTest3,23
1265
+
1266
+ /Users/kerry/dev/shoulda/test/unit/product_test.rb,61
1267
+ class ProductTest < ActiveSupport::TestCaseProductTest3,23
1268
+
1269
+ /Users/kerry/dev/shoulda/test/unit/tag_test.rb,53
1270
+ class TagTest < ActiveSupport::TestCaseTagTest3,23
1271
+
1272
+ /Users/kerry/dev/shoulda/test/unit/tagging_test.rb,61
1273
+ class TaggingTest < ActiveSupport::TestCaseTaggingTest3,23
1274
+
1275
+ /Users/kerry/dev/shoulda/test/unit/user_test.rb,55
1276
+ class UserTest < ActiveSupport::TestCaseUserTest3,23
1277
+
1278
+ /Users/kerry/dev/shoulda/tmp/testapp/app/controllers/application_controller.rb,81
1279
+ class ApplicationController < ActionController::BaseApplicationController4,154
1280
+
1281
+ /Users/kerry/dev/shoulda/tmp/testapp/app/controllers/examples_controller.rb,93
1282
+ class ExamplesController < ApplicationControllerExamplesController1,0
1283
+ def showshow2,49
1284
+
1285
+ /Users/kerry/dev/shoulda/tmp/testapp/app/helpers/application_helper.rb,48
1286
+ module ApplicationHelperApplicationHelper2,86
1287
+
1288
+ /Users/kerry/dev/shoulda/tmp/testapp/app/models/user.rb,41
1289
+ class User < ActiveRecord::BaseUser1,0
1290
+
1291
+ /Users/kerry/dev/shoulda/tmp/testapp/config/boot.rb,795
1292
+ module RailsRails6,175
1293
+ def boot!boot!8,204
1294
+ def booted?booted?15,302
1295
+ def pick_bootpick_boot19,361
1296
+ def vendor_rails?vendor_rails?23,437
1297
+ def preinitializepreinitialize27,516
1298
+ def preinitializer_pathpreinitializer_path31,615
1299
+ class BootBoot36,705
1300
+ def runrun37,718
1301
+ class VendorBoot < BootVendorBoot43,813
1302
+ def load_initializerload_initializer44,839
1303
+ class GemBoot < BootGemBoot51,1048
1304
+ def load_initializerload_initializer52,1071
1305
+ def load_rails_gemload_rails_gem58,1185
1306
+ def rubygems_versionrubygems_version70,1676
1307
+ def gem_versiongem_version74,1754
1308
+ def load_rubygemsload_rubygems84,2010
1309
+ def parse_gem_version(text)parse_gem_version97,2499
1310
+ def read_environment_rbread_environment_rb102,2640
1311
+
1312
+ /Users/kerry/dev/shoulda/tmp/testapp/config/environment.rb,0
1313
+
1314
+ /Users/kerry/dev/shoulda/tmp/testapp/config/environments/development.rb,0
1315
+
1316
+ /Users/kerry/dev/shoulda/tmp/testapp/config/environments/production.rb,0
1317
+
1318
+ /Users/kerry/dev/shoulda/tmp/testapp/config/environments/test.rb,0
1319
+
1320
+ /Users/kerry/dev/shoulda/tmp/testapp/config/initializers/backtrace_silencers.rb,0
1321
+
1322
+ /Users/kerry/dev/shoulda/tmp/testapp/config/initializers/cookie_verification_secret.rb,0
1323
+
1324
+ /Users/kerry/dev/shoulda/tmp/testapp/config/initializers/inflections.rb,0
1325
+
1326
+ /Users/kerry/dev/shoulda/tmp/testapp/config/initializers/mime_types.rb,0
1327
+
1328
+ /Users/kerry/dev/shoulda/tmp/testapp/config/initializers/new_rails_defaults.rb,0
1329
+
1330
+ /Users/kerry/dev/shoulda/tmp/testapp/config/initializers/session_store.rb,0
1331
+
1332
+ /Users/kerry/dev/shoulda/tmp/testapp/config/routes.rb,0
1333
+
1334
+ /Users/kerry/dev/shoulda/tmp/testapp/db/migrate/1_create_users.rb,82
1335
+ class CreateUsers < ActiveRecord::MigrationCreateUsers1,0
1336
+ def self.upup2,44
1337
+
1338
+ /Users/kerry/dev/shoulda/tmp/testapp/db/schema.rb,0
1339
+
1340
+ /Users/kerry/dev/shoulda/tmp/testapp/db/seeds.rb,0
1341
+
1342
+ /Users/kerry/dev/shoulda/tmp/testapp/test/performance/browsing_test.rb,114
1343
+ class BrowsingTest < ActionController::PerformanceTestBrowsingTest5,128
1344
+ def test_homepagetest_homepage6,183
1345
+
1346
+ /Users/kerry/dev/shoulda/tmp/testapp/test/test_helper.rb,50
1347
+ class ActiveSupport::TestCaseActiveSupport5,123