fixes admin spec
This commit is contained in:
committed by
Juanjo Bazán
parent
7231f72e01
commit
4d1b65c714
@@ -129,10 +129,4 @@
|
||||
<li><%= t("valuation.spending_proposals.show.undefined") %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user