Skip to content

Commit

Permalink
Added translation expectation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nettsundere committed Jun 9, 2013
1 parent 0e9abe3 commit 6366c5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
GIT
remote: git://github.com/dwilkie/currencies.git
revision: f6da599e6a6d74b2588806498111970e8dbed090
specs:
currencies (0.4.0)

PATH
remote: .
specs:
Expand All @@ -13,6 +7,7 @@ PATH
GEM
remote: https://rubygems.org/
specs:
currencies (0.4.2)
diff-lcs (1.1.3)
rake (0.9.2.2)
rspec (2.10.0)
Expand All @@ -30,7 +25,7 @@ PLATFORMS

DEPENDENCIES
countries!
currencies!
currencies (~> 0.4.2)
rake
rspec
yard
5 changes: 5 additions & 0 deletions spec/country_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
country.names.should == ["United States of America", "Vereinigte Staaten von Amerika", "États-Unis", "Estados Unidos", "アメリカ合衆国"]
end

it 'should return translations' do
country.translations.should be
country.translations["en"].should == "United States of America"
end

it 'should return latitude' do
country.latitude.should == '38 00 N'
end
Expand Down

0 comments on commit 6366c5b

Please sign in to comment.