Skip to content

Commit f5ff3da

Browse files
committed
Spec for version
1 parent 94df9f2 commit f5ff3da

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

spec/eu_central_bank_spec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
22

3-
describe "EuCentralBank" do
3+
describe EuCentralBank do
44
before(:each) do
55
Money.rounding_mode = BigDecimal::ROUND_HALF_UP
66

@@ -21,6 +21,10 @@
2121
end
2222
end
2323

24+
it "has a version" do
25+
expect(EuCentralBank::VERSION).to be_a(String)
26+
end
27+
2428
it "should save the xml file from ecb given a file path" do
2529
@bank.save_rates(@tmp_cache_path)
2630
expect(File.exist?(@tmp_cache_path)).to eq(true)

0 commit comments

Comments
 (0)