Sha256: 58d5d3706ab0d47e2e72a56550bd6a0cc7853f2bd8351150cd75557920756015

Contents?: true

Size: 852 Bytes

Versions: 1

Compression:

Stored size: 852 Bytes

Contents

# require 'coveralls'
# Coveralls.wear!

ENV["RAILS_ENV"] ||= 'test'
require File.expand_path(File.dirname(__FILE__) + "/../fixture_rails_root/config/environment")

require Rails.root.join('db/schema').to_s
require 'rspec/rails'

$: << File.expand_path(File.dirname(__FILE__) + '/../lib/')
require 'plutus'
require 'kaminari'

Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}

require 'factory_bot'
plutus_definitions = File.expand_path(File.join(File.dirname(__FILE__), 'factories'))
FactoryBot.definition_file_paths << plutus_definitions


RSpec.configure do |config|
  config.use_transactional_fixtures = true
  config.infer_spec_type_from_file_location!
  config.include(Shoulda::Matchers::ActiveRecord, type: :model)
  config.include FactoryBot::Syntax::Methods

end


FactoryBotHelpers.reload()

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tyche-0.14 spec/spec_helper.rb