Format and style user donations

This commit is contained in:
2020-12-19 13:16:04 +01:00
parent 40f3e8327a
commit 2f70bae523
4 changed files with 88 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
require 'rails_helper'
describe ApplicationHelper do
describe "sats_to_btc" do
it "converts satoshis to BTC" do
expect(helper.sats_to_btc(120000000)).to eq(1.2)
end
end
end