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

10 lines
191 B
Ruby

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