mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 12:32:30 +01:00
e5815737c1
- bumped gems - rm bots - rm pry byebug - added rubocop-shopify and corrected generated warnings
19 lines
373 B
Ruby
19 lines
373 B
Ruby
# frozen_string_literal: true
|
|
|
|
require_relative "helper"
|
|
require "currency_names"
|
|
|
|
describe CurrencyNames do
|
|
let(:currency_names) do
|
|
CurrencyNames.new
|
|
end
|
|
|
|
it "returns currency codes and names" do
|
|
_(currency_names.formatted["USD"]).must_equal("United States Dollar")
|
|
end
|
|
|
|
it "has a cache key" do
|
|
_(currency_names.cache_key).wont_be(:empty?)
|
|
end
|
|
end
|