Sha256: b9ac5353e8e3d504ab0d2e51af98d4f3c2d45adfa777fbf70e64b2e60de45ace
Contents?: true
Size: 317 Bytes
Versions: 4
Compression:
Stored size: 317 Bytes
Contents
require 'spec_helper' describe Http::Options, "form" do let(:opts){ Http::Options.new } it 'defaults to nil' do opts.form.should be_nil end it 'may be specified with with_form_data' do opts2 = opts.with_form(:foo => 42) opts.form.should be_nil opts2.form.should eq(:foo => 42) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
http-0.5.0.pre | spec/http/options/form_spec.rb |
http-0.4.0 | spec/http/options/form_spec.rb |
http-0.3.0 | spec/http/options/form_spec.rb |
http-0.2.0 | spec/http/options/form_spec.rb |