Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2060

Client authentication options test fails on ruby-head

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.3, 2.10.4, 2.12.0.rc0
    • Affects Version/s: None
    • Component/s: Tests
    • None
    • Fully Compatible

       1 errors outside of examples
      
      1)
      
      
      An error occurred while loading ./spec/integration/client_authentication_options_spec.rb.
      Failure/Error:
          shared_examples_for 'auth mechanism that uses database or default auth source' do |default_auth_source:|
            context 'where no database is provided' do
              context 'with URI options' do
                let(:credentials) { "#{user}:#{pwd}@" }
                let(:options) { "?authMechanism=#{auth_mech_string}" }
        
                it 'creates a client with default auth source' do
                  expect(client.options['auth_source']).to eq(default_auth_source)
                end
              end
      
      ArgumentError:
        missing keyword: :default_auth_source
      # ./spec/integration/client_authentication_options_spec.rb:41:in `block (2 levels) in <top (required)>'
      # ./spec/integration/client_authentication_options_spec.rb:201:in `block (2 levels) in <top (required)>'
      # ./spec/integration/client_authentication_options_spec.rb:196:in `block in <top (required)>'
      # ./spec/integration/client_authentication_options_spec.rb:3:in `<top (required)>'
      

            Assignee:
            emily.giurleo@mongodb.com Emily Giurleo (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: