Sha256: 824a030c1d3fa9ba453a56f33b13984c144d79a249360e984c4516453f26bf3f
Contents?: true
Size: 552 Bytes
Versions: 12
Compression:
Stored size: 552 Bytes
Contents
require 'aws-sdk' require_relative '../spec_helper' require "logstash/filters/cognito-client" describe LogStash::Filters::Empow::CognitoClient do describe "cognito test" do skip "test authenticate" do aws_region = 'us-east-2' aws_client_id = '8dljcvt4jfif762le0ald6j' username = 'bad' password = 'request' client = described_class.new(username, password, aws_region, aws_client_id) expect{ client.authenticate }.to raise_error(Aws::CognitoIdentityProvider::Errors::UserNotFoundException) end end end
Version data entries
12 entries across 12 versions & 2 rubygems