Changed tests
This commit is contained in:
@@ -279,7 +279,6 @@ FactoryBot.define do
|
||||
description 'Spend money on this'
|
||||
price 10
|
||||
unfeasibility_explanation ''
|
||||
external_url 'http://external_documention.org'
|
||||
skip_map '1'
|
||||
terms_of_service '1'
|
||||
incompatible false
|
||||
|
||||
@@ -311,7 +311,6 @@ feature 'Budget Investments' do
|
||||
select 'Health: More hospitals', from: 'budget_investment_heading_id'
|
||||
fill_in 'budget_investment_title', with: 'Build a skyscraper'
|
||||
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'
|
||||
@@ -322,7 +321,6 @@ feature 'Budget Investments' do
|
||||
expect(page).to have_content 'Investment created successfully'
|
||||
expect(page).to have_content 'Build a skyscraper'
|
||||
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'
|
||||
|
||||
@@ -32,7 +32,6 @@ feature 'Budget Investments' do
|
||||
select "Whole city: Health", from: 'budget_investment_heading_id'
|
||||
fill_in 'budget_investment_title', with: 'Build a park in my neighborhood'
|
||||
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'
|
||||
fill_in 'budget_investment_organization_name', with: 'T.I.A.'
|
||||
fill_in 'budget_investment_tag_list', with: 'green'
|
||||
@@ -44,7 +43,6 @@ feature 'Budget Investments' do
|
||||
expect(page).to have_content 'Health'
|
||||
expect(page).to have_content 'Build a park in my neighborhood'
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user