Sha256: 9943fa2b6b918e75e029d41b9800cc59f0a19d1b3538a41d2aa5d498a0cadb83

Contents?: true

Size: 275 Bytes

Versions: 7

Compression:

Stored size: 275 Bytes

Contents

module MockCollinsAuthMixin
  require 'collins_auth'
  require 'collins_client'

  def mock_collins_auth
    allow_any_instance_of(Collins::Authenticator).to receive(:setup_client).
                                                     and_return(Collins::Client)

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
consolr-1.1.5 spec/mocks/collins_auth.rb
consolr-1.1.4 spec/mocks/collins_auth.rb
consolr-1.1.1 spec/mocks/collins_auth.rb
consolr-1.1.0 spec/mocks/collins_auth.rb
consolr-1.1.3 spec/mocks/collins_auth.rb
consolr-1.1.2 spec/mocks/collins_auth.rb
consolr-1.0.2 spec/mocks/collins_auth.rb