Sha256: e1f5c86d9e04acfda82a54ebc67a49b192c7d5699b3558a99dfe32781d6f8306

Contents?: true

Size: 427 Bytes

Versions: 61

Compression:

Stored size: 427 Bytes

Contents

module RSpec
  module Rails
    class Railtie < ::Rails::Railtie
      # Rails-3.0.1 requires config.app_generators instead of 3.0.0's config.generators
      generators = config.respond_to?(:app_generators) ? config.app_generators : config.generators
      generators.integration_tool :rspec
      generators.test_framework   :rspec

      rake_tasks do
        load "rspec/rails/tasks/rspec.rake"
      end
    end
  end
end

Version data entries

61 entries across 56 versions & 5 rubygems

Version Path
rspec-rails-2.8.0.rc2 lib/rspec-rails.rb
rspec-rails-2.8.0.rc1 lib/rspec-rails.rb
rspec-rails-2.7.0 lib/rspec-rails.rb
rspec-rails-2.7.0.rc1 lib/rspec-rails.rb
rspec-rails-2.6.1 lib/rspec-rails.rb
rspec-rails-2.6.1.beta1 lib/rspec-rails.rb
rspec-rails-2.6.0 lib/rspec-rails.rb
rspec-rails-2.6.0.rc6 lib/rspec-rails.rb
rspec-rails-2.6.0.rc4 lib/rspec-rails.rb
rspec-rails-2.6.0.rc2 lib/rspec-rails.rb
rspec-rails-2.5.0 lib/rspec-rails.rb
rspec-rails-2.4.1 lib/rspec-rails.rb
rspec-rails-2.4.0 lib/rspec-rails.rb
rspec-rails-2.3.1 lib/rspec-rails.rb
rspec-rails-2.3.0 lib/rspec-rails.rb
rspec-rails-2.2.1 lib/rspec-rails.rb
rspec-rails-2.2.0 lib/rspec-rails.rb
rspec-rails-2.1.0 lib/rspec-rails.rb
rspec-rails-2.0.1 lib/rspec-rails.rb
rspec-rails-2.0.0 lib/rspec-rails.rb