Sha256: 2d47fd03f265c0c68dca99454b43dfcc709f29f07c603c4b449ac0f2b881f5a6

Contents?: true

Size: 435 Bytes

Versions: 5

Compression:

Stored size: 435 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
    Comment.destroy_all
    Post.destroy_all
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
api_pagination_headers-2.1.1 spec/spec_helper.rb
api_pagination_headers-2.1.0 spec/spec_helper.rb
api_pagination_headers-2.0.1 spec/spec_helper.rb
api_pagination_headers-2.0.0 spec/spec_helper.rb
api_pagination_headers-1.1.2 spec/spec_helper.rb