ardekantur-gantty 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gantty.rb +1 -1
- data/spec/gantty_spec.rb +4 -0
- metadata +1 -1
data/lib/gantty.rb
CHANGED
data/spec/gantty_spec.rb
CHANGED
@@ -17,5 +17,9 @@ describe "Gantty" do
|
|
17
17
|
it "should return a list of all current tasks" do
|
18
18
|
@gantt.current_tasks(Date.new(2008, 10, 18)).size.should == 9
|
19
19
|
end
|
20
|
+
|
21
|
+
it "should include tasks starting today as current tasks for today" do
|
22
|
+
@gantt.current_tasks(Date.new(2008, 11, 3)).size.should == 8
|
23
|
+
end
|
20
24
|
|
21
25
|
end
|