Sha256: cb786fad396c86354e76817c601f087351d3aaba7b70bd20785e143e9cf78517

Contents?: true

Size: 741 Bytes

Versions: 4

Compression:

Stored size: 741 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

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

require 'rspec/core'
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.0.beta spec/support/rspec-rails-neuter.rb
riak-sessions-0.8.3 spec/support/rspec-rails-neuter.rb
riak-sessions-0.8.2 spec/support/rspec-rails-neuter.rb
riak-sessions-0.8.1 spec/support/rspec-rails-neuter.rb