diff --git a/spec/factories.rb b/spec/factories.rb index 8667cf663..c9047c675 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -105,7 +105,7 @@ FactoryGirl.define do sequence(:title) { |n| "Proposal #{n} title" } description 'Proposal description' question 'Proposal question' - external_url 'http://decide.madrid.es' + external_url 'http://external_documention.es' terms_of_service '1' association :author, factory: :user diff --git a/spec/features/proposals_spec.rb b/spec/features/proposals_spec.rb index 0f70b4ecc..064299ba8 100644 --- a/spec/features/proposals_spec.rb +++ b/spec/features/proposals_spec.rb @@ -40,7 +40,9 @@ feature 'Proposals' do visit proposal_path(proposal) expect(page).to have_content proposal.title + expect(page).to have_content "Proposal question" expect(page).to have_content "Proposal description" + expect(page).to have_content "http://external_documention.es" expect(page).to have_content proposal.author.name expect(page).to have_content I18n.l(proposal.created_at.to_date) expect(page).to have_selector(avatar(proposal.author.name))