fixes admin spec

This commit is contained in:
Juanjo Bazán
2016-03-08 13:40:42 +01:00
committed by Juanjo Bazán
parent 7231f72e01
commit 4d1b65c714
2 changed files with 3 additions and 9 deletions

View File

@@ -129,10 +129,4 @@
<li><%= t("valuation.spending_proposals.show.undefined") %></li>
<% end %>
</ul>
</div>
</div>

View File

@@ -168,7 +168,7 @@ feature 'Admin spending proposals' do
spending_proposal = create(:spending_proposal,
geozone: create(:geozone),
association_name: 'People of the neighbourhood',
price: 1234.56,
price: 1234,
price_first_year: 1000,
feasible: false,
feasible_explanation: 'It is impossible',
@@ -184,7 +184,7 @@ feature 'Admin spending proposals' do
expect(page).to have_content(spending_proposal.author.name)
expect(page).to have_content(spending_proposal.association_name)
expect(page).to have_content(spending_proposal.geozone.name)
expect(page).to have_content('1234.56')
expect(page).to have_content('1234')
expect(page).to have_content('1000')
expect(page).to have_content('Not feasible')
expect(page).to have_content('It is impossible')