Sha256: cab98207df063885f1f4b6ac0b69465c4fc7e74d034bb0955cf4682cd5d34a87
Contents?: true
Size: 314 Bytes
Versions: 6
Compression:
Stored size: 314 Bytes
Contents
require 'spec_helper' describe HTTP::Options, 'body' do let(:opts) { HTTP::Options.new } it 'defaults to nil' do expect(opts.body).to be nil end it 'may be specified with with_body' do opts2 = opts.with_body('foo') expect(opts.body).to be nil expect(opts2.body).to eq('foo') end end
Version data entries
6 entries across 6 versions & 1 rubygems