Permalink
Browse files

Made tests green again

  • Loading branch information...
francois committed Jun 6, 2008
1 parent a62844b commit f769694c12cbb838ea39a5b81bc9fd69899fc39b
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/fogbugz_listener_test.rb
@@ -36,7 +36,7 @@ def test_adds_link_to_github_in_message_if_repo_in_options
@listener = FogbugzListener.new(:sha1 => "c829a13", :message => "Reopens #3211", :commit_url => "http://github.com/johnreilly/github-fogbuz")
@listener.reopen
@listener.case("3211")
- @service.expects(:reopen).with(:case => "3211", :message => "Reopens #3211\n\nCommit: c829a13\nhttp://github.com/johnreilly/github-fogbuz/commit/c829a13")
+ @service.expects(:reopen).with(:case => "3211", :message => "Reopens #3211\n\nCommit: c829a13\nhttp://github.com/johnreilly/github-fogbuz")
@listener.update_fogbugz(@service)
end
@@ -48,7 +48,7 @@ def test_reference_adds_extra_text_to_link_cases_together
@listener.case("9219")
@listener.case("9220")
@service.expects(:implement).with(:case => "1112",
- :message => "Implements #1112, references #9219, #9220\n\nReferences case 9219, case 9220\nCommit: c829a13\nhttp://github.com/johnreilly/github-fogbuz/commit/c829a13")
+ :message => "Implements #1112, references #9219, #9220\n\nReferences case 9219, case 9220\nCommit: c829a13\nhttp://github.com/johnreilly/github-fogbuz")
@listener.update_fogbugz(@service)
end

0 comments on commit f769694

Please sign in to comment.