Sha256: e6a49024df8257383d3cdc0d5ea3dc09474d190b80e2c12de110d6a097459577

Contents?: true

Size: 323 Bytes

Versions: 1

Compression:

Stored size: 323 Bytes

Contents

require 'helper'

class TestBucks < Test::Unit::TestCase
  def test_currency_for_every_country_in_the_list
    Bucks::Currency::COUNTRIES.each do |country|
      assert Bucks::Currency.find(country)
    end
  end
  
  def test_currency_for_an_unexisting_country
    assert_nil Bucks::Currency.find("Unicornland")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bucks-0.1.0 test/bucks/test_currency.rb