Sha256: 42a00d2b43370122b810bd7ce52c75e3436ec959f44b8010354c50a8d40ce0d2

Contents?: true

Size: 343 Bytes

Versions: 8

Compression:

Stored size: 343 Bytes

Contents

require 'construct'
require 'timecop'
require 'fakefs/spec_helpers'
require ('electric_eye.rb')

RSpec.configure do |config|
  config.before(:each) do
    # Set the directory
    stub_const("ElectricEye::CONFIG_DIR", "/tmp/fakehome/.electric_eye")
    stub_const("ElectricEye::CONFIG_FILE", "/tmp/fakehome/.electric_eye/config.yml")
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
electric_eye-0.1.4 spec/spec_helper.rb
electric_eye-0.1.3 spec/spec_helper.rb
electric_eye-0.1.1 spec/spec_helper.rb
electric_eye-0.1.0 spec/spec_helper.rb
electric_eye-0.0.5 spec/spec_helper.rb
electric_eye-0.0.3 spec/spec_helper.rb
electric_eye-0.0.2 spec/spec_helper.rb
electric_eye-0.0.1 spec/spec_helper.rb