Sha256: 27ec991d830e47f6ade81e5200dae3153575ce0149a9994e18d15b4cf1f9a566

Contents?: true

Size: 804 Bytes

Versions: 23

Compression:

Stored size: 804 Bytes

Contents

require 'simplecov'
SimpleCov.minimum_coverage 80
SimpleCov.start

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path('../dummy/config/environment.rb', __FILE__)

require 'rails'
require 'action_controller'
require 'action_controller/test_case'
require 'action_controller/railtie'
require 'active_support/json'
require 'active_support/inflector'

require 'fun_with_json_api'

require 'fixtures/active_record'
require 'rspec/rails'
require 'faker'
require 'factory_girl_rails'

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.mock_with :rspec
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.order = 'random'
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fun_with_json_api-0.0.3 spec/spec_helper.rb
fun_with_json_api-0.0.2 spec/spec_helper.rb
fun_with_json_api-0.0.1 spec/spec_helper.rb