Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:andrewtimberlake/cerberus
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtimberlake committed Jul 6, 2009
2 parents bc1feda + 7a36ff9 commit 008e049
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/jabber_publisher_test.rb
Expand Up @@ -16,7 +16,7 @@ def test_publisher
assert messages.size > 2
assert_equal 'google.com', messages[0].to.domain
assert_equal 'jit1', messages[0].to.node
assert_equal '[MegaApp] Build still broken (#1232)', messages[0].subject
assert_equal '[MegaApp] Build still broken (1232)', messages[0].subject
assert !messages[0].body.nil?
end
end
2 changes: 1 addition & 1 deletion test/rss_publisher_test.rb
Expand Up @@ -15,7 +15,7 @@ def test_publisher

xml = REXML::Document.new(IO.read(rss_file.path))

assert_equal '[RSS<App] Build still broken (#1235)', xml.elements["rss/channel/item/title/"].get_text.value
assert_equal '[RSS<App] Build still broken (1235)', xml.elements["rss/channel/item/title/"].get_text.value
assert_match %r{<pre>last message\nthis is output\n--\nThis email generated by Cerberus tool ver\. \d.\d(.\d)?, http://cerberus.rubyforge.org/</pre>},
xml.elements["rss/channel/item/description/"].get_text.value
end
Expand Down
2 changes: 1 addition & 1 deletion test/twitter_publisher_test.rb
Expand Up @@ -14,6 +14,6 @@ def test_publisher

statuses = Twitter::Client.statuses
assert_equal 1, statuses.size
assert_equal '[TestApp] Build still broken (#1232)', statuses.first
assert_equal '[TestApp] Build still broken (1232)', statuses.first
end
end

0 comments on commit 008e049

Please sign in to comment.