Sha256: 02b81db1b93c6beeff35223e4f662ba6706e402210fc3ca4cd6358f0db40777a
Contents?: true
Size: 291 Bytes
Versions: 36
Compression:
Stored size: 291 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
36 entries across 36 versions & 3 rubygems