Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

CLC-696 Using Date.civil instead of Date.new may give us the right GM…

…T timezone
  • Loading branch information...
commit 0d88d4737fcd9567b9a158d7447ab06d2557f3c0 1 parent 3f5f4c0
@ctweney ctweney authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/models/my_tasks_spec.rb
View
2  spec/models/my_tasks_spec.rb
@@ -14,7 +14,7 @@
GoogleProxy.stub(:new).and_return(@fake_google_proxy)
CanvasProxy.stub(:new).and_return(@fake_canvas_proxy)
GoogleProxy.any_instance.stub(:events_list).and_return(@fake_google_tasks_array)
- my_tasks_model = MyTasks.new(@user_id, Date.new(2012, 11, 27))
+ my_tasks_model = MyTasks.new(@user_id, Date.civil(2012, 11, 27))
valid_feed = my_tasks_model.get_feed
valid_feed["sections"].length.should == 4
valid_feed["sections"][0]["title"].should == "Due"
Please sign in to comment.
Something went wrong with that request. Please try again.