Sha256: aa9734d529a04773f30f7215fcdce12ead15bcc1ee330cd8bbe0424a04e0e510
Contents?: true
Size: 526 Bytes
Versions: 10
Compression:
Stored size: 526 Bytes
Contents
module Spec module Rails module Example # Model examples live in $RAILS_ROOT/spec/models/. # # Model examples use Spec::Rails::Example::ModelExampleGroup, which # provides support for fixtures and some custom expectations via extensions # to ActiveRecord::Base. base = defined?(ActiveRecord::TestCase) ? ActiveRecord::TestCase : ActiveSupport::TestCase class ModelExampleGroup < base Spec::Example::ExampleGroupFactory.register(:model, self) end end end end
Version data entries
10 entries across 10 versions & 4 rubygems