Skip to content

Commit

Permalink
Merge pull request #19542 from lpichler/rename_ChargebackRateDetailCu…
Browse files Browse the repository at this point in the history
…rrencyToCurrency_part_1

Add currency model and factory
  • Loading branch information
Fryguy authored Nov 21, 2019
2 parents f75eb39 + 211171b commit b1749cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/models/currency.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Currency = ChargebackRateDetailCurrency
9 changes: 9 additions & 0 deletions spec/factories/currency.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FactoryBot.define do
factory :currency do
code { "EUR" }
name { "Euro" }
full_name { "Euro" }
symbol { "€" }
unicode_hex { "8364" }
end
end

0 comments on commit b1749cd

Please sign in to comment.