Sha256: 14a291243053fe7d6e418c1d9dfaae68bf5d69d03c7463b36f596afece58e63c
Contents?: true
Size: 918 Bytes
Versions: 15
Compression:
Stored size: 918 Bytes
Contents
# frozen_string_literal: true require "spec_helper" module Doorkeeper::OAuth describe BaseResponse do subject do 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 end
Version data entries
15 entries across 15 versions & 2 rubygems