Sha256: a8a2d390a5b23f25a5d0366df106777ab368c096f2d2f6b94e3c729908ecbac4

Contents?: true

Size: 1.16 KB

Versions: 46

Compression:

Stored size: 1.16 KB

Contents

require "spec_helper"

describe Brightbox::BBConfig do
  let(:config) { Brightbox::BBConfig.new }

  # These are initial specs that need fleshing out. We don't really need any of
  # these when whe actually are testing each by themselves!
  it { expect(config).to respond_to(:config) }
  it { expect(config).to respond_to(:config_directory) }
  it { expect(config).to respond_to(:config_filename) }
  it { expect(config).to respond_to(:delete_section) }
  it { expect(config).to respond_to(:client_name) }
  it { expect(config).to respond_to(:access_token_filename) }
  it { expect(config).to respond_to(:refresh_token_filename) }
  it { expect(config).to respond_to(:save) }

  # From Brightbox::Config::ToFog
  it { expect(config).to respond_to(:to_fog) }
  it { expect(config).to respond_to(:account) }
  it { expect(config).to respond_to(:find_or_set_default_account) }
  it { expect(config).to respond_to(:using_api_client?) }
  it { expect(config).to respond_to(:using_application?) }

  # From Brightbox::Config::Cache
  it { expect(config).to respond_to(:cache_path) }
  it { expect(config).to respond_to(:save_default_account) }
  it { expect(config).to respond_to(:cache_id) }
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
brightbox-cli-5.0.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-5.0.0.rc2 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-5.0.0.rc1 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-5.0.0.alpha spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.8.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.7.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.6.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.5.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.5.0.rc1 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.4.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.3.2 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.3.1 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.3.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.2.1 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.2.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.1.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.0.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-4.0.0.rc2 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-3.3.0 spec/unit/brightbox/bb_config_spec.rb
brightbox-cli-3.2.0 spec/unit/brightbox/bb_config_spec.rb