Sha256: 4618b95a12eb4698097d447e8094cb0f61d9aa9c4972a1d03e6208ca705a4035

Contents?: true

Size: 572 Bytes

Versions: 2

Compression:

Stored size: 572 Bytes

Contents

# encoding: utf-8

##
# Load Backup
require File.expand_path( '../../lib/backup', __FILE__ )

##
# Use Mocha to mock with RSpec
RSpec.configure do |config|
  config.mock_with :mocha
end

# FIXTURES_PATH = File.join( File.dirname(__FILE__), 'fixtures' )

Backup.send(:remove_const, :TRIGGER) if defined? Backup::TRIGGER
Backup.send(:remove_const, :TIME) if defined? Backup::TIME

module Backup
  TRIGGER = 'myapp'
  TIME = Time.now.strftime("%Y.%m.%d.%H.%M.%S")
end

unless @put_ruby_version
  puts @put_ruby_version = "\n\nRuby version: #{ENV['rvm_ruby_string']}\n\n"
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
interu-backup-3.0.16 spec/spec_helper.rb
backup-3.0.16 spec/spec_helper.rb