We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 456d4cd + fb60280 commit 411d5acCopy full SHA for 411d5ac
app/views/items/show.html.erb
@@ -45,7 +45,7 @@
45
</tr>
46
<tr>
47
<th>Value Per Item</th>
48
- <td><%= @item.value_in_cents || 0 %></td>
+ <td>$<%= @item.value_in_dollars || 0 %></td>
49
50
51
<th>Quantity per Individual</th>
spec/requests/items_requests_spec.rb
@@ -204,7 +204,7 @@
204
expect(response.body).to include('Category')
205
expect(response.body).to include('CURRENTCATEGORY')
206
expect(response.body).to include('Value Per Item')
207
- expect(response.body).to include('20000')
+ expect(response.body).to include('$200.0')
208
expect(response.body).to include('Quantity per Individual')
209
expect(response.body).to include('2000')
210
expect(response.body).to include('On hand minimum quantity')
0 commit comments