just fixed a failing test

pull/6827/head
Martin Linkhorst 13 years ago
parent 804f10da04
commit 8c1202b95d
  1. 3
      spec/controllers/costlog_controller_spec.rb

@ -381,7 +381,8 @@ describe CostlogController do
before do
grant_current_user_permissions user, [:log_costs]
cost_type.update_attributes({ :deleted_at => Date.today })
cost_type.deleted_at = Date.today
cost_type.save!
end
it_should_behave_like "invalid create"

Loading…
Cancel
Save