Sha256: a78f8b9a502a2e4414a66677259c10fb291f65d99055889fdf43ae4540f4f880
Contents?: true
Size: 341 Bytes
Versions: 36
Compression:
Stored size: 341 Bytes
Contents
# frozen_string_literal: true RSpec.describe HTTP::Options, "form" do let(:opts) { HTTP::Options.new } it "defaults to nil" do expect(opts.form).to be nil end 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
Version data entries
36 entries across 36 versions & 3 rubygems