Sha256: df762d557cf223480fd44908c0554bb08fc0bf151c212c2d2ba0c4b69c7dcb55
Contents?: true
Size: 478 Bytes
Versions: 6
Compression:
Stored size: 478 Bytes
Contents
require 'rails_helper' RSpec.describe Apicasso::ApplicationController, type: :controller do describe "#current_ability" do it "instantiates a @current_ability object" do Apicasso::ApplicationController.current_ability expect(@current_ability).not_to be nil end end describe "#restrict_access" do it "instantiates an @api_key object" do Apicasso::ApplicationController.current_ability expect(@api_key).not_to be nil end end end
Version data entries
6 entries across 6 versions & 1 rubygems