Sha256: 4bcf03663ce18506515f7d333bc3b073567b3e64c318cb3d38ddd9c82886994e

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

require 'ostruct'

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require 'rspec/rails'

engine_root = File.join(File.dirname(__FILE__), '..')
Dir[File.join(engine_root, 'spec/support/**/*.rb')].each { |file| require(file) }

RSpec.configure do |config|
  config.use_transactional_fixtures = true
  config.infer_base_class_for_anonymous_controllers = false
  config.infer_spec_type_from_file_location!
  config.order = "random"
end

module Pageflow
  def self.config
    OpenStruct.new( paperclip_s3_default_options: {})
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pageflow-chart-1.2.0 spec/spec_helper.rb
pageflow-chart-1.1.0 spec/spec_helper.rb
pageflow-chart-1.0.1 spec/spec_helper.rb
pageflow-chart-1.0.0 spec/spec_helper.rb