Sha256: 374477ef56f8964e2060c8f8895ad37fff6244e6912f2d79078190e891beaae7

Contents?: true

Size: 1.06 KB

Versions: 17

Compression:

Stored size: 1.06 KB

Contents

require 'rubygems'
require 'bundler/setup'

ENV["RAILS_ENV"] ||= 'test'
APIPIE_ROOT = File.expand_path('../..', __FILE__)
require File.expand_path("../dummy/config/environment", __FILE__)

require 'rspec/rails'
require 'rspec/autorun'

require 'apipie-rails'

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[File.expand_path("../support/**/*.rb", __FILE__)].each {|f| require f}

RSpec.configure do |config|

  config.mock_with :rspec

  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
  config.fixture_path = "#{::Rails.root}/spec/fixtures"

  # If you're not using ActiveRecord, or you'd prefer not to run each of your
  # examples within a transaction, remove the following line or assign false
  # instead of true.
  config.use_transactional_fixtures = true

  # If true, the base class of anonymous controllers will be inferred
  # automatically. This will be the default behavior in future versions of
  # rspec-rails.
  config.infer_base_class_for_anonymous_controllers = false
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
apipie-rails-0.3.5 spec/spec_helper.rb
apipie-rails-0.3.4 spec/spec_helper.rb
apipie-rails-0.3.3 spec/spec_helper.rb
apipie-rails-0.3.2 spec/spec_helper.rb
apipie-rails-0.3.1 spec/spec_helper.rb
apipie-rails-0.3.0 spec/spec_helper.rb
apipie-rails-0.2.6 spec/spec_helper.rb
apipie-rails-0.2.5 spec/spec_helper.rb
apipie-rails-0.2.4 spec/spec_helper.rb
apipie-rails-0.2.3 spec/spec_helper.rb
apipie-rails-0.2.2 spec/spec_helper.rb
apipie-rails-0.2.1 spec/spec_helper.rb
apipie-rails-0.2.0 spec/spec_helper.rb
apipie-rails-0.1.3 spec/spec_helper.rb
apipie-rails-0.1.2 spec/spec_helper.rb
apipie-rails-0.1.1 spec/spec_helper.rb
apipie-rails-0.1.0 spec/spec_helper.rb