Sha256: ef744468687ca9a1ae01502ffe6d02cb6a7990866369200dec90555f9c05fdc4
Contents?: true
Size: 531 Bytes
Versions: 45
Compression:
Stored size: 531 Bytes
Contents
require 'spec_helper' RSpec.describe 'Controller configuration' do before :each do allow_any_instance_of(Scimitar::ApplicationController).to receive(:authenticated?).and_return(true) end context 'application_controller_mixin' do it 'the test before-action declared in configuration gets called' do expect_any_instance_of(MockUsersController).to receive(:test_hook) get '/Users', params: { format: :scim } expect(response).to be_ok end end # "context 'application_controller_mixin' do" end
Version data entries
45 entries across 45 versions & 2 rubygems