There was an error while loading. Please reload this page.
1 parent 94df9f2 commit f5ff3daCopy full SHA for f5ff3da
1 file changed
spec/eu_central_bank_spec.rb
@@ -1,6 +1,6 @@
1
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
3
-describe "EuCentralBank" do
+describe EuCentralBank do
4
before(:each) do
5
Money.rounding_mode = BigDecimal::ROUND_HALF_UP
6
@@ -21,6 +21,10 @@
21
end
22
23
24
+ it "has a version" do
25
+ expect(EuCentralBank::VERSION).to be_a(String)
26
+ end
27
+
28
it "should save the xml file from ecb given a file path" do
29
@bank.save_rates(@tmp_cache_path)
30
expect(File.exist?(@tmp_cache_path)).to eq(true)
0 commit comments