Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix integration test

  • Loading branch information...
commit ad0fdd2a01943019bf4f066c74cbb341cf3ce4db 1 parent 61027db
@jamesgolick authored
View
2  test/integration/trample_a_single_url_test.rb
@@ -3,7 +3,7 @@
class TrampleASingleUrlTest < Test::Unit::TestCase
def test_trampling_a_single_url
mock(RestClient).get("http://google.com").times(2) { "" }
- trample "-c test/fixtures/basic_config.rb"
+ trample "test/fixtures/basic_config.rb"
end
end
View
5 test/test_helper.rb
@@ -11,9 +11,8 @@ class Test::Unit::TestCase
include RR::Adapters::TestUnit unless include?(RR::Adapters::TestUnit)
protected
- def trample(options)
- dir = File.expand_path(File.dirname(__FILE__))
- `#{dir}/../bin/trample #{options}`
+ def trample(config)
+ Trample::Cli.new.start(config)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.