Sha256: c8adaa86b134c0cced7ad0c5187bd5e52eda55e835687ac8dc66150310cc12ba
Contents?: true
Size: 561 Bytes
Versions: 47
Compression:
Stored size: 561 Bytes
Contents
require 'rails_helper' module OpenStax module Api describe DoorkeeperApplicationIncludes do it 'must add methods to Doorkeeper::Application' do application = Doorkeeper::Application.new expect(application).to respond_to(:is_human?) expect(application.is_human?).to eq(false) expect(application).to respond_to(:is_application?) expect(application.is_application?).to eq(true) expect(application).to respond_to(:is_admin?) expect(application.is_admin?).to eq(false) end end end end
Version data entries
47 entries across 47 versions & 1 rubygems