Sha256: f5a402ca0620a20dd3e6e8d5706a264a44328bc69053e1270a6e7cfd526e3101
Contents?: true
Size: 847 Bytes
Versions: 5
Compression:
Stored size: 847 Bytes
Contents
# frozen_string_literal: true require "spec_helper" RSpec.describe Doorkeeper::OAuth::BaseResponse do subject do described_class.new end describe "#body" do it "returns an empty Hash" do expect(subject.body).to eq({}) end end describe "#description" do it "returns an empty String" do expect(subject.description).to eq("") end end describe "#headers" do it "returns an empty Hash" do expect(subject.headers).to eq({}) end end describe "#redirectable?" do it "returns false" do expect(subject.redirectable?).to eq(false) end end describe "#redirect_uri" do it "returns an empty String" do expect(subject.redirect_uri).to eq("") end end describe "#status" do it "returns :ok" do expect(subject.status).to eq(:ok) end end end
Version data entries
5 entries across 5 versions & 2 rubygems