Sha256: 5c7f49d1be5aec8fc864938b0ee78d62de8388bbe94b6d6ecdbfee43c7ba9c60

Contents?: true

Size: 397 Bytes

Versions: 9

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

module Europe
  module Currency
    # ExchangeRatesTest
    class ExchangeRatesTest < Minitest::Test
      include Benchmark

      def setup
        WebMock.disable!
      end

      def test_retrieval_exchange_rates
        rates = Europe::Currency::ExchangeRates.retrieve
        assert rates[:rates].key?(:GBP)
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
europe-0.0.22 test/europe/currency/exchange_rates_test.rb
europe-0.0.21 test/europe/currency/exchange_rates_test.rb
europe-0.0.20 test/europe/currency/exchange_rates_test.rb
europe-0.0.19 test/europe/currency/exchange_rates_test.rb
europe-0.0.18 test/europe/currency/exchange_rates_test.rb
europe-0.0.17 test/europe/currency/exchange_rates_test.rb
europe-0.0.16 test/europe/currency/exchange_rates_test.rb
europe-0.0.15 test/europe/currency/exchange_rates_test.rb
europe-0.0.14 test/europe/currency/exchange_rates_test.rb