Look at right attribute

This commit is contained in:
Daniel O'Connor
2017-02-06 14:11:44 +10:30
parent f0a81d4100
commit b24514fa82

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