spec/lib/http/options/form_spec.rb in http-0.7.4 vs spec/lib/http/options/form_spec.rb in http-0.8.0.pre

- old
+ new

@@ -1,12 +1,12 @@ -RSpec.describe HTTP::Options, 'form' do +RSpec.describe HTTP::Options, "form" do let(:opts) { HTTP::Options.new } - it 'defaults to nil' do + it "defaults to nil" do expect(opts.form).to be nil end - it 'may be specified with with_form_data' do + it "may be specified with with_form_data" do opts2 = opts.with_form(:foo => 42) expect(opts.form).to be nil expect(opts2.form).to eq(:foo => 42) end end