Sha256: d2d387a28aba229e91d6f369eb2e9fbed6fd860513f3988f01e5d1a8d7b4813c

Contents?: true

Size: 411 Bytes

Versions: 3

Compression:

Stored size: 411 Bytes

Contents

ENV['RAILS_ENV'] = 'test'
require File.expand_path('../dummy/config/environment', __FILE__)
require 'rspec/rails'
require 'rspec/autorun'
require 'factory_girl_rails'

ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)

RSpec.configure do |config|
  config.order = 'random'
  config.include Rails.application.routes.url_helpers

  config.after(:each) do
    Post.destroy_all
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
api_pagination_headers-1.1.1 spec/spec_helper.rb
api_pagination_headers-1.1.0 spec/spec_helper.rb
api_pagination_headers-1.0.1 spec/spec_helper.rb