Sha256: ccd54b3003ac6eebf7b988eb76ac3a8d02c39777a06c475c548f2a95bd434ba4

Contents?: true

Size: 643 Bytes

Versions: 3

Compression:

Stored size: 643 Bytes

Contents

require 'spec/interop/test'

ActionView::Base.cache_template_extensions = false

module Spec
  module Rails

    module Example
      class RailsExampleGroup < Test::Unit::TestCase
        
        # Rails >= r8570 uses setup/teardown_fixtures explicitly
        before(:each) do
          setup_fixtures if self.respond_to?(:setup_fixtures)
        end
        after(:each) do
          teardown_fixtures if self.respond_to?(:teardown_fixtures)
        end
        
        include Spec::Rails::Matchers
        include Spec::Rails::Mocks
        
        Spec::Example::ExampleGroupFactory.default(self)
        
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mocked_fixtures-0.1.0 spec/rspec-rails/rails_example_group.rb
mocked_fixtures-0.2.0 spec/rspec-rails/rails_example_group.rb
mocked_fixtures-0.3.0 spec/rspec-rails/rails_example_group.rb