Sha256: 90ba33625e995d238be849aff73f0ef6ad84bbccafd2d3be76d4854b6c97c976

Contents?: true

Size: 728 Bytes

Versions: 2

Compression:

Stored size: 728 Bytes

Contents

require 'rubygems'
require "rails"
require "lolita"

require File.expand_path('test_orm/coverage')
require File.expand_path('test_orm/support')

require 'ffaker'
require 'factory_girl'
require File.expand_path('lib/lolita-file-upload')

require "carrierwave"
current_orm=:active_record
require 'carrierwave/orm/'+current_orm.to_s.gsub("_","")

require File.expand_path("test_orm/#{current_orm}")


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

Support.load_rails_application
 
if defined?(Rails)
	#require 'rspec/rails' 
	# RSpec.configure do |config|

	# 	config.mock_with :rspec

	# 	config.use_transactional_fixtures =  true if current_orm==:active_record

	# end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lolita-file-upload-0.2.1 spec/spec_helper.rb
lolita-file-upload-0.2.0 spec/spec_helper.rb