Module: RSpec::Rails::Extensions::ActiveRecord
- Included in:
- ActiveRecord::Base
- Defined in:
- lib/rspec/rails/extensions/active_record/base.rb
Instance Method Summary collapse
-
#records ⇒ Object
(also: #record)
Extension to enhance ‘should have` on AR Model classes.
Instance Method Details
#records ⇒ Object Also known as: record
Extension to enhance ‘should have` on AR Model classes
13 14 15 |
# File 'lib/rspec/rails/extensions/active_record/base.rb', line 13 def records find(:all) end |