diff --git a/spec/controllers/harvests_controller_spec.rb b/spec/controllers/harvests_controller_spec.rb index 234c83dbb..5765496f3 100644 --- a/spec/controllers/harvests_controller_spec.rb +++ b/spec/controllers/harvests_controller_spec.rb @@ -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