test/test_deploy_tracking.rb in toadhopper-1.3 vs test/test_deploy_tracking.rb in toadhopper-2.0

- old
+ new

@@ -2,10 +2,10 @@ require 'cgi' require 'fakeweb' class Toadhopper::TestDeployTracking < Test::Unit::TestCase def test_deploy - FakeWeb.register_uri(:post, 'http://hoptoadapp.com/deploys.txt', :status => ['200', 'Ok']) + FakeWeb.register_uri(:post, 'http://airbrakeapp.com/deploys.txt', :status => ['200', 'Ok']) options = {:framework_env => 'test', :scm_revision => 3, :scm_repository => 'some/where', :username => 'phil'} response = Toadhopper('bogus key').deploy!(options) request = FakeWeb.last_request expected_parameters = {'api_key' => 'bogus key', 'deploy[rails_env]' => 'test', 'deploy[scm_revision]' => '3', 'deploy[scm_repository]' => 'some/where', 'deploy[local_username]' => 'phil'} assert_equal 200, response.status