Sha256: 188f232d7bb8f14f33085e600d96715f7df255124b7eaf81590338b1170b6544
Contents?: true
Size: 706 Bytes
Versions: 3
Compression:
Stored size: 706 Bytes
Contents
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 'credere' require 'kaminari' Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f} require 'factory_girl' credere_definitions = File.expand_path(File.join(File.dirname(__FILE__), 'factories')) FactoryGirl.definition_file_paths << credere_definitions RSpec.configure do |config| config.use_transactional_fixtures = true config.infer_spec_type_from_file_location! end FactoryGirlHelpers.reload()
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
credere-0.10.3 | spec/spec_helper.rb |
credere-0.10.2 | spec/spec_helper.rb |
credere-0.10.1 | spec/spec_helper.rb |