Sha256: 8b6b04da7b0cee2d3bb4208043c8307001618dc05feacd83161278511645feff

Contents?: true

Size: 456 Bytes

Versions: 6

Compression:

Stored size: 456 Bytes

Contents

#!/bin/env ruby
# encoding: utf-8
require 'test_helper'

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

      def test_currency_retrieval
        assert_equal Europe::Currency::CURRENCIES[:EUR][:name], 'Euro'
        assert_equal Europe::Currency::CURRENCIES[:GBP][:symbol], '£'
        assert_equal Europe::Currency::CURRENCIES[:SEK][:html], '&#107;&#114;'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
europe-0.0.6 test/europe/currency/currency_test.rb
europe-0.0.5 test/europe/currency/currency_test.rb
europe-0.0.4 test/europe/currency/currency_test.rb
europe-0.0.3 test/europe/currency/currency_test.rb
europe-0.0.2 test/europe/currency/currency_test.rb
europe-0.0.1 test/europe/currency/currency_test.rb