Module: RSpec::Rails::Extensions::ActiveRecord

Included in:
ActiveRecord::Base
Defined in:
lib/rspec/rails/extensions/active_record/base.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) records Also known as: record

14
15
16
# File 'lib/rspec/rails/extensions/active_record/base.rb', line 14
def records
  all.to_a
end