Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.544 kB
require 'rubygems'
require File.join(File.dirname(__FILE__), '..', 'lib', 'printable')
require 'spec/autorun'
require 'fixtures/example'
def file_fixture(filename)
open(File.join(File.dirname(__FILE__), 'fixtures', "#{filename.to_s}")).read
end
Dir[File.expand_path(File.join(File.dirname(__FILE__),'support','**','*.rb'))].each {|f| require f}
Spec::Runner.configure do |config|
end
def mock_printer(printee)
printer = Printable::Printer.new(printee, 'spec/fixtures/example.print')
printer.stub!(:run).and_return(true)
printer
end
Jump to Line
Something went wrong with that request. Please try again.