Sha256: a9b004e965b850981f6ad1094918a1f4514634d1e062f3874018c57f529a5220

Contents?: true

Size: 696 Bytes

Versions: 28

Compression:

Stored size: 696 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

28 entries across 28 versions & 1 rubygems

Version Path
lolita-file-upload-0.7.3 spec/spec_helper.rb
lolita-file-upload-0.7.2 spec/spec_helper.rb
lolita-file-upload-0.7.1 spec/spec_helper.rb
lolita-file-upload-0.6.2 spec/spec_helper.rb
lolita-file-upload-0.6.1 spec/spec_helper.rb
lolita-file-upload-0.6.0 spec/spec_helper.rb
lolita-file-upload-0.5.0 spec/spec_helper.rb
lolita-file-upload-0.4.13 spec/spec_helper.rb
lolita-file-upload-0.4.12 spec/spec_helper.rb
lolita-file-upload-0.4.11 spec/spec_helper.rb
lolita-file-upload-0.3.0.2 spec/spec_helper.rb
lolita-file-upload-0.3.0.1 spec/spec_helper.rb
lolita-file-upload-0.4.10 spec/spec_helper.rb
lolita-file-upload-0.4.9 spec/spec_helper.rb
lolita-file-upload-0.4.8 spec/spec_helper.rb
lolita-file-upload-0.4.7 spec/spec_helper.rb
lolita-file-upload-0.4.2 spec/spec_helper.rb
lolita-file-upload-0.4.1 spec/spec_helper.rb
lolita-file-upload-0.4.0 spec/spec_helper.rb
lolita-file-upload-0.3.0 spec/spec_helper.rb