Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/currency_non_iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ xfu:
symbol: ''
disambiguate_symbol: XFU
alternate_symbols: []
subunit: ''
subunit:
subunit_to_unit: 100
symbol_first: true
html_entity: ''
Expand All @@ -86,7 +86,7 @@ gbx:
symbol: ''
disambiguate_symbol: GBX
alternate_symbols: []
subunit: ''
subunit:
subunit_to_unit: 1
symbol_first: true
html_entity: ''
Expand Down
1 change: 1 addition & 0 deletions spec/currency/loader_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

it 'loads the non iso currency file' do
expect(subject.load_currencies['jep']['iso_code']).to eq('JEP')
expect(subject.load_currencies['xfu']['subunit']).to be_nil
end

it 'loads the historic iso currency file' do
Expand Down
Loading