Sha256: dc619240ce79cb5061a092ab68cd50a82f52e5cde367fab3d6391145d652c86c
Contents?: true
Size: 857 Bytes
Versions: 7
Compression:
Stored size: 857 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Doorkeeper::OAuth::BaseResponse do subject do Doorkeeper::OAuth::BaseResponse.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
7 entries across 7 versions & 2 rubygems