Sha256: cd1bc662105caad3fa2861bd82b328a4dfe5be1d911fbb08be86f364887d40b2

Contents?: true

Size: 775 Bytes

Versions: 2

Compression:

Stored size: 775 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'

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

2 entries across 2 versions & 1 rubygems

Version Path
fun_with_json_api-0.0.14 spec/spec_helper.rb
fun_with_json_api-0.0.13 spec/spec_helper.rb