spec/spec_helper.rb in imgkit-1.5.0 vs spec/spec_helper.rb in imgkit-1.6.0
- old
+ new
@@ -7,12 +7,10 @@
require 'mocha'
require 'rack'
RSpec.configure do |config|
config.before do
- IMGKit.any_instance.stubs(:wkhtmltoimage).returns(
- File.join(SPEC_ROOT,'..','bin','wkhtmltoimage-proxy')
- )
+ IMGKit.any_instance.stubs(:wkhtmltoimage).returns('bundle exec wkhtmltoimage')
end
end
module MagicNumber
extend self