From 011009294d002e327572bf8b690ebca9f68e57bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Mon, 23 Jul 2018 10:07:30 +0200 Subject: [PATCH] Fix reference [ci skip] --- spec/features/budgets/update_budget_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/features/budgets/update_budget_spec.rb b/spec/features/budgets/update_budget_spec.rb index ad72f941d9..ea7d37186b 100644 --- a/spec/features/budgets/update_budget_spec.rb +++ b/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 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_object: budget end @@ -157,7 +157,7 @@ describe 'updating a budget', type: :feature, js: true do context 'with two labor budget items' do let!(:labor_budget_item_2) do - FactoryGirl.create :labor_budget_item, hours: 5, + FactoryBot.create :labor_budget_item, hours: 5, user: user, cost_object: budget end