Sha256: df3f5c664b860eeeafebe4915e1eda5afb1951a7fe20d5159c02558db68729b2

Contents?: true

Size: 655 Bytes

Versions: 38

Compression:

Stored size: 655 Bytes

Contents

require 'spec_helper'

RSpec.describe 'aruba' do
  describe '#config' do
    subject(:config) { aruba.config }

    if RUBY_VERSION >= '1.9'
      context 'when initialized' do
        it { is_expected.to eq Aruba.config }
      end
    end

    context 'when changed earlier' do
      context 'values when init' do
        let(:value) { 20 }
        before(:each) { aruba.config.io_wait_timeout = value }

        it { expect(config.io_wait_timeout).to eq value }
      end

      context 'default value' do
        let(:value) { 0.1 } # Aruba.config.io_wait_timeout

        it { expect(config.io_wait_timeout).to eq value }
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 3 rubygems

Version Path
aruba-0.14.14 spec/aruba/api/runtime_spec.rb
aruba-0.14.13 spec/aruba/api/runtime_spec.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/aruba-0.14.12/spec/aruba/api/runtime_spec.rb
aruba-0.14.12 spec/aruba/api/runtime_spec.rb
aruba-0.14.11 spec/aruba/api/runtime_spec.rb
aruba-0.14.10 spec/aruba/api/runtime_spec.rb
aruba-0.14.9 spec/aruba/api/runtime_spec.rb
aruba-0.14.8 spec/aruba/api/runtime_spec.rb
aruba-0.14.7 spec/aruba/api/runtime_spec.rb
aruba-0.14.6 spec/aruba/api/runtime_spec.rb
aruba-0.14.5 spec/aruba/api/runtime_spec.rb
aruba-0.14.4 spec/aruba/api/runtime_spec.rb
aruba-0.14.3 spec/aruba/api/runtime_spec.rb
aruba-win-fix-0.14.2 spec/aruba/api/runtime_spec.rb
aruba-0.14.2 spec/aruba/api/runtime_spec.rb
aruba-0.14.1 spec/aruba/api/runtime_spec.rb
aruba-0.14.0 spec/aruba/api/runtime_spec.rb
aruba-0.13.0 spec/aruba/api/runtime_spec.rb
aruba-0.12.0 spec/aruba/api/runtime_spec.rb
aruba-0.11.2 spec/aruba/api/runtime_spec.rb