From 53a1ea8847670ffb740a0a63023b52fb82313144 Mon Sep 17 00:00:00 2001 From: Marko Lovic Date: Wed, 25 Jul 2018 14:14:06 +0200 Subject: [PATCH] Fix spec --- spec/features/admin/budget_investments_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/admin/budget_investments_spec.rb b/spec/features/admin/budget_investments_spec.rb index defa1bfa9..f65a3e672 100644 --- a/spec/features/admin/budget_investments_spec.rb +++ b/spec/features/admin/budget_investments_spec.rb @@ -617,7 +617,7 @@ feature 'Admin budget investments' do expect(page).to have_content('Some investment') expect(page).to have_content('Some other investment') - fill_in 'title_or_id', with: 999999 + fill_in 'title_or_id', with: first_investment.id click_button 'Filter' expect(page).to have_content('Some other investment')