Sha256: 2bf71eb324d3330e5f70943042dcac545e78411586d2b0223db864a6013ab98e
Contents?: true
Size: 465 Bytes
Versions: 20
Compression:
Stored size: 465 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
Version data entries
20 entries across 20 versions & 2 rubygems