Ensure historical data is returned

This commit is contained in:
hakanensari 2014-03-17 10:15:05 +00:00
parent 8d007357b1
commit 3c0f4a060c

View File

@ -27,6 +27,7 @@ describe 'the API' do
it 'returns historical data' do
get '/2012-11-20'
json['rates'].wont_be :empty?
json['date'].must_equal '2012-11-20'
end
it 'works around holidays' do