Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test for :show command

  • Loading branch information...
commit 2cb1b84e7d57c426a0d657fb8943ed68729d5f7e 1 parent d405533
cloudhead authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 spec/koi_spec.rb
View
5 spec/koi_spec.rb
@@ -92,6 +92,11 @@
@db.load.last[:title].should == TASKS[1]
end
+ it "should show tasks with specific tags" do
+ Koi.run(:tag, TASKS[1], "#food")
+ Koi.run(:show, ["#food"]).first[:title].should == TASKS[1]
+ end
+
it "should sticky tasks" do
Koi.run(:float, TASKS[2])
@db.load.list[0][:title].should == TASKS[2]
Please sign in to comment.
Something went wrong with that request. Please try again.