diff --git a/spec/features/budgets/investments_spec.rb b/spec/features/budgets/investments_spec.rb index 1c6b1c7c8..a0f65a012 100644 --- a/spec/features/budgets/investments_spec.rb +++ b/spec/features/budgets/investments_spec.rb @@ -221,6 +221,8 @@ feature 'Budget Investments' do fill_in 'budget_investment_description', with: 'I want to live in a high tower over the clouds' fill_in 'budget_investment_external_url', with: 'http://http://skyscraperpage.com/' fill_in 'budget_investment_location', with: 'City center' + fill_in 'budget_investment_organization_name', with: 'T.I.A.' + fill_in 'budget_investment_tag_list', with: 'Towers' check 'budget_investment_terms_of_service' click_button 'Create Investment' @@ -230,6 +232,8 @@ feature 'Budget Investments' do expect(page).to have_content 'I want to live in a high tower over the clouds' expect(page).to have_content 'http://http://skyscraperpage.com/' expect(page).to have_content 'City center' + expect(page).to have_content 'T.I.A.' + expect(page).to have_content 'Towers' visit user_url(author, filter: :budget_investments) expect(page).to have_content '1 Investment' diff --git a/spec/features/management/budget_investments_spec.rb b/spec/features/management/budget_investments_spec.rb index a066a9089..edf0980b1 100644 --- a/spec/features/management/budget_investments_spec.rb +++ b/spec/features/management/budget_investments_spec.rb @@ -34,7 +34,8 @@ feature 'Budget Investments' do fill_in 'budget_investment_description', with: 'There is no parks here...' fill_in 'budget_investment_external_url', with: 'http://moarparks.com' fill_in 'budget_investment_location', with: 'City center' - check 'budget_investment_terms_of_service' + fill_in 'budget_investment_organization_name', with: 'T.I.A.' + fill_in 'budget_investment_tag_list', with: 'green' click_button 'Create Investment' @@ -45,6 +46,8 @@ feature 'Budget Investments' do expect(page).to have_content 'There is no parks here...' expect(page).to have_content 'http://moarparks.com' expect(page).to have_content 'City center' + expect(page).to have_content 'T.I.A.' + expect(page).to have_content 'green' expect(page).to have_content user.name expect(page).to have_content I18n.l(@budget.created_at.to_date) end