Sha256: 71a85a34086f36c2e099c714f56a747d9ebe76ca6e449d9ce2318f570dd9fa71

Contents?: true

Size: 669 Bytes

Versions: 13

Compression:

Stored size: 669 Bytes

Contents

require 'spec/interop/test'

if ActionView::Base.respond_to?(:cache_template_extension)
  ActionView::Base.cache_template_extensions = false
end

module Spec
  module Rails

    module Example
      if ActiveSupport.const_defined?(:TestCase)
        class RailsExampleGroup < ActiveSupport::TestCase
          include ActionController::Assertions::SelectorAssertions
        end
      else
        class RailsExampleGroup < Test::Unit::TestCase
        end
      end
      
      class RailsExampleGroup
        include Spec::Rails::Matchers
        include Spec::Rails::Mocks
        Spec::Example::ExampleGroupFactory.default(self)
      end
      
    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
dchelimsky-rspec-rails-1.1.11.2 lib/spec/rails/example/rails_example_group.rb
dchelimsky-rspec-rails-1.1.11.3 lib/spec/rails/example/rails_example_group.rb
dchelimsky-rspec-rails-1.1.11.4 lib/spec/rails/example/rails_example_group.rb
dchelimsky-rspec-rails-1.1.11.5 lib/spec/rails/example/rails_example_group.rb
dchelimsky-rspec-rails-1.1.11.6 lib/spec/rails/example/rails_example_group.rb
dchelimsky-rspec-rails-1.1.11.7 lib/spec/rails/example/rails_example_group.rb
dchelimsky-rspec-rails-1.1.12 lib/spec/rails/example/rails_example_group.rb
rspec-rails-1.1.12 lib/spec/rails/example/rails_example_group.rb
spree-0.6.0 vendor/plugins/rspec-rails/lib/spec/rails/example/rails_example_group.rb
spree-0.7.0 vendor/plugins/rspec-rails/lib/spec/rails/example/rails_example_group.rb
spree-0.7.1 vendor/plugins/rspec-rails/lib/spec/rails/example/rails_example_group.rb
spree-0.8.0 vendor/plugins/rspec-rails/lib/spec/rails/example/rails_example_group.rb
spree-0.8.1 vendor/plugins/rspec-rails/lib/spec/rails/example/rails_example_group.rb