Fix reference

[ci skip]
pull/6827/head
Oliver Günther 6 years ago
parent 2973392929
commit 011009294d
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 4
      spec/features/budgets/update_budget_spec.rb

@ -119,7 +119,7 @@ describe 'updating a budget', type: :feature, js: true do
context 'with two material budget items' do context 'with two material budget items' do
let!(:material_budget_item_2) do let!(:material_budget_item_2) do
FactoryGirl.create :material_budget_item, units: 5, FactoryBot.create :material_budget_item, units: 5,
cost_type: cost_type, cost_type: cost_type,
cost_object: budget cost_object: budget
end end
@ -157,7 +157,7 @@ describe 'updating a budget', type: :feature, js: true do
context 'with two labor budget items' do context 'with two labor budget items' do
let!(:labor_budget_item_2) do let!(:labor_budget_item_2) do
FactoryGirl.create :labor_budget_item, hours: 5, FactoryBot.create :labor_budget_item, hours: 5,
user: user, user: user,
cost_object: budget cost_object: budget
end end

Loading…
Cancel
Save