mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 13:38:24 -04:00
Look at right attribute
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user