Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Stash work on specs.

  • Loading branch information...
commit 4b00c0daf5334697b09e121d44db44fa4a824109 1 parent a34ce66
Eloy Durán alloy authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/trac_spec.rb
6 spec/trac_spec.rb
View
@@ -121,8 +121,8 @@ def self.raw_active_tickets_feed
@trac.assign_ticket(81, "alloy")
@trac.assign_ticket(47, "lrz")
@trac.assign_ticket(19, "alloy")
- @trac.user("lrz").should == ["#47: Cannot pass a :symbol directly as a named parameter (http://www.macruby.org/trac/ticket/47)"]
- @trac.user("alloy").should == ["#19: Problems with method_missing (http://www.macruby.org/trac/ticket/19)", "#81: Enumerable::Enumerator seems to be broken (http://www.macruby.org/trac/ticket/81)"]
+ @trac.user("lrz").should == ["You are currently working on 1 ticket:", "#47: Cannot pass a :symbol directly as a named parameter (http://www.macruby.org/trac/ticket/47)"]
+ @trac.user("alloy").should == ["You are currently working on 2 tickets:", "#19: Problems with method_missing (http://www.macruby.org/trac/ticket/19)", "#81: Enumerable::Enumerator seems to be broken (http://www.macruby.org/trac/ticket/81)"]
end
it "returns a list of tickets that are marked for review" do
@@ -133,7 +133,7 @@ def self.raw_active_tickets_feed
@trac.mark_for_review(47, "lrz")
@trac.assign_ticket(19, "alloy")
@trac.mark_for_review(19, "alloy")
- @trac.marked_for_review.should == ["#19: Problems with method_missing (http://www.macruby.org/trac/ticket/19)", "#47: Cannot pass a :symbol directly as a named parameter (http://www.macruby.org/trac/ticket/47)", "#81: Enumerable::Enumerator seems to be broken (http://www.macruby.org/trac/ticket/81)"]
+ @trac.marked_for_review.should == ["There are currently 3 tickets that are marked for review:", "#19: Problems with method_missing (http://www.macruby.org/trac/ticket/19)", "#47: Cannot pass a :symbol directly as a named parameter (http://www.macruby.org/trac/ticket/47)", "#81: Enumerable::Enumerator seems to be broken (http://www.macruby.org/trac/ticket/81)"]
end
it "returns a good message when a ticket is not open (anymore)" do
Please sign in to comment.
Something went wrong with that request. Please try again.