We should be able to filter by symbols

This commit is contained in:
Hakan Ensari 2012-11-21 14:46:15 +00:00
parent 40cf0775d2
commit d581df31af

View File

@ -17,4 +17,10 @@ describe 'the application' do
get '/latest?base=USD' get '/latest?base=USD'
json['base'].must_equal 'USD' json['base'].must_equal 'USD'
end end
it 'filters symbols' do
skip 'enterprise feature'
get '/latest?symbols=USD'
json['rates'].keys.must_equal %w(USD)
end
end end