mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
14 lines
369 B
Ruby
14 lines
369 B
Ruby
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
|
require 'ap'
|
|
require 'spec'
|
|
require 'spec/autorun'
|
|
require 'rubygems'
|
|
|
|
Spec::Runner.configure do |config|
|
|
end
|
|
|
|
def stub_dotfile!
|
|
dotfile = File.join(ENV["HOME"], ".aprc")
|
|
File.should_receive(:readable?).at_least(:once).with(dotfile).and_return(false)
|
|
end
|