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

Client authentication options test fails on ruby-head

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.3, 2.10.4, 2.12.0.rc0
    • Component/s: Testing
    • Labels:
      None

      Description

       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)>'
      

        Attachments

          Activity

            People

            Assignee:
            emily.giurleo Emily Giurleo
            Reporter:
            oleg.pudeyev Oleg Pudeyev
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: