Look at right attribute

This commit is contained in:
Daniel O'Connor committed 2017-02-06 14:11:44 +10:30
1 parent f0a81d4100
commit b24514fa82
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ describe HarvestsController do
it "sets the date of the harvest to today" do
get :new, {}
assigns(:harvest).planted_at.should == Time.zone.today
assigns(:harvest).harvested_at.should == Time.zone.today
end
end