Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed specs for bad array order

  • Loading branch information...
commit 07752b7ac54bbdcef097e583c33952a6d36c1791 1 parent 06e9396
@pepe pepe authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/list_spec.rb
View
4 spec/list_spec.rb
@@ -169,7 +169,7 @@ module Dooby
list.add(task = Task.new('@leader #context :status'))
list.add(task_two = Task.new('@leader #context :done'))
- list.find(['#context', '@leader']).should == formatted([task, task_two])
+ list.find(['#context', '@leader']).should =~ formatted([task_two, task])
end
end
end
@@ -180,7 +180,7 @@ module Dooby
list = List.new @location
#NOTE shouldn't this array be of uniq tags?
- list.all_tags.should == ["#context", "@person", "%project", ":status0", "#context", "@person", "%project", ":status1", "#context", "@person", "%project", ":status2"]
+ list.all_tags.should =~ ["#context", "%project", "@person", ":status0", "#context", "@person", "%project", ":status1", "#context", "@person", "%project", ":status2"]
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.