Sha256: 4c32090eaf1da879260d46891a28e2c33a51bcc722a8a4103e78ce3eb0f18b93

Contents?: true

Size: 742 Bytes

Versions: 4

Compression:

Stored size: 742 Bytes

Contents

# Copied from rspec-rails but bypassing the part that requires a Rails
# app
module RSpec
  module Rails
    class << self
      def using_active_record?
        #::Rails.configuration.generators.options[:rails][:orm] ==
        #:active_record
        false
      end
    end
  end
end

require 'rspec/core'

RSpec::configure do |c|
  c.backtrace_clean_patterns << /vendor\//
  c.backtrace_clean_patterns << /lib\/rspec\/rails/
end

require 'rspec/rails/extensions'
require 'rspec/rails/view_rendering'
require 'rspec/rails/adapters'
require 'rspec/rails/matchers'
require 'rspec/rails/fixture_support'
require 'rspec/rails/mocks'
require 'rspec/rails/module_inclusion'
require 'rspec/rails/browser_simulators'
require 'rspec/rails/example'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
riak-sessions-0.9.7 spec/support/rspec-rails-neuter.rb
riak-sessions-0.9.2 spec/support/rspec-rails-neuter.rb
riak-sessions-0.9.0 spec/support/rspec-rails-neuter.rb
riak-sessions-0.9.0.beta2 spec/support/rspec-rails-neuter.rb