Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krekoten committed Sep 22, 2010
1 parent 074b925 commit 7863dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/issue_test.rb
Expand Up @@ -90,7 +90,7 @@ def setup
assert @issue.labels.empty?
@issue.add_label("one-point-oh", "maybe-two-point-oh")
assert !@issue.labels.empty?
assert 2, @issue.labels.size
assert_equal 2, @issue.labels.size
end

should "removing a label" do
Expand Down
2 changes: 1 addition & 1 deletion test/tag_test.rb
Expand Up @@ -12,7 +12,7 @@ def setup
should "be able to find all tags" do
tags = Tag.all(:user => "fcoury", :repository => "octopi")
assert_not_nil tags
assert 12, tags.size
assert_equal 9, tags.size
assert tags.first.is_a?(Tag)
end
end
Expand Down

0 comments on commit 7863dcc

Please sign in to comment.