Sha256: 2a9f1c43f46afb3ed833bae50d659b183ea4109eb36541ee34855647ea84f3e0

Contents?: true

Size: 1023 Bytes

Versions: 2

Compression:

Stored size: 1023 Bytes

Contents

## Test coverage

require 'coveralls'
Coveralls.wear!

## Rails

require 'active_support'
require 'active_record'

## Carrierwave

require 'carrierwave'

## Paperclip

require 'paperclip'
require "paperclip/railtie"
Paperclip::Railtie.insert
Paperclip.options[:log] = false unless ENV["LOG_PAPERCLIP"]

## Setup fixture database for activerecord

ActiveRecord::Base.establish_connection(
  :adapter => "sqlite3",
  :database => File.dirname(__FILE__) + "/fixtures/db/retina_rails.sqlite3"
)

## Load rspec rails after initializing rails app

load 'spec/support/rails.rb'
load 'spec/support/schema.rb'
require 'rspec/rails'

## Load retina_rails

require 'retina_rails'

RetinaRails::Extensions.include_extensions
RetinaRails::Processors.include_processors
RetinaRails::Strategies.include_strategies

## Load support files

load 'spec/support/carrierwave.rb'
load 'spec/support/paperclip.rb'
load 'spec/support/file_string_io.rb'

RSpec.configure do |config|
  config.fixture_path = "#{File.dirname(__FILE__)}/fixtures"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
retina_rails-2.0.5 spec/spec_helper.rb
retina_rails-2.0.4 spec/spec_helper.rb