twitter-status-bot/.gems/gems/http-0.6.2/spec/http/backports/uri_spec.rb

10 lines
191 B
Ruby
Raw Normal View History

2014-09-03 08:49:59 +00:00
require 'spec_helper'
describe URI do
describe '.encode_www_form' do
it 'properly encodes arrays' do
expect(URI.encode_www_form :a => [:b, :c]).to eq 'a=b&a=c'
end
end
end