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

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rspec-rails-1.3.4/lib/spec/rails/example/model_example_group.rb
richzhou-rspec-rails-1.3.4 lib/spec/rails/example/model_example_group.rb
rspec-rails-1.3.4 lib/spec/rails/example/model_example_group.rb
rspec-rails-1.3.3 lib/spec/rails/example/model_example_group.rb
rspec-rails-1.3.3.rc lib/spec/rails/example/model_example_group.rb
rspec-rails-w-factory_girl-1.3.2.1 lib/spec/rails/example/model_example_group.rb
rspec-rails-w-factory_girl-1.3.2 lib/spec/rails/example/model_example_group.rb
rspec-rails-1.3.2 lib/spec/rails/example/model_example_group.rb
rspec-rails-1.3.1 lib/spec/rails/example/model_example_group.rb
rspec-rails-1.3.0 lib/spec/rails/example/model_example_group.rb