File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 148148 it "formats as HTML if asked (nicely) to" do
149149 money = Spree ::Money . new ( 10 , format : '%n %u' )
150150 # The HTML'ified version of "10.00 €"
151- expect ( money . to_html ) . to eq ( "<span class=\" money-whole\" >10</span><span class=\" money-decimal-mark\" >.</span><span class=\" money-decimal\" >00</span> <span class=\" money-currency-symbol\" >€ </span>" )
151+ expect ( money . to_html ) . to eq ( "<span class=\" money-whole\" >10</span><span class=\" money-decimal-mark\" >.</span><span class=\" money-decimal\" >00</span> <span class=\" money-currency-symbol\" >€ </span>" )
152152 end
153153
154154 it "formats as HTML with currency" do
155155 money = Spree ::Money . new ( 10 , format : '%n %u' , with_currency : true )
156156 # The HTML'ified version of "10.00 €"
157- expect ( money . to_html ) . to eq ( "<span class=\" money-whole\" >10</span><span class=\" money-decimal-mark\" >.</span><span class=\" money-decimal\" >00</span> <span class=\" money-currency-symbol\" >€ </span> <span class=\" money-currency\" >EUR</span>" )
157+ expect ( money . to_html ) . to eq ( "<span class=\" money-whole\" >10</span><span class=\" money-decimal-mark\" >.</span><span class=\" money-decimal\" >00</span> <span class=\" money-currency-symbol\" >€ </span> <span class=\" money-currency\" >EUR</span>" )
158158 end
159159 end
160160
You can’t perform that action at this time.
0 commit comments