Sha256: 4c6c15c6a35b939e8827e52456143475feadaf89c211df52811580f7e6bd4c99

Contents?: true

Size: 189 Bytes

Versions: 5

Compression:

Stored size: 189 Bytes

Contents

require 'rails'

RSpec.configure do |c|
  c.before do
    allow(Rails).to receive(:root) { File.expand_path( '../files', __FILE__ ) }
    allow(Rails).to receive(:env) { 'test' }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ab_panel-0.4.4 spec/support/rails.rb
ab_panel-0.4.3 spec/support/rails.rb
ab_panel-0.4.2 spec/support/rails.rb
ab_panel-0.4.1 spec/support/rails.rb
ab_panel-0.4.0 spec/support/rails.rb