Sha256: 411c98913ecd8b95280147358a4ceac1cebd58419447cfbdf07245fc169ff4c6
Contents?: true
Size: 290 Bytes
Versions: 6
Compression:
Stored size: 290 Bytes
Contents
# frozen_string_literal: true RSpec.describe HTTP::Options do subject { described_class.new(:response => :body) } it "has reader methods for attributes" do expect(subject.response).to eq(:body) end it "coerces to a Hash" do expect(subject.to_hash).to be_a(Hash) end end
Version data entries
6 entries across 6 versions & 1 rubygems