Sha256: 537a85e2f06316c15a4ccca61c573fe880818f5e6bba543039449aa6b2015769

Contents?: true

Size: 949 Bytes

Versions: 6

Compression:

Stored size: 949 Bytes

Contents

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration

require 'clamp'
require 'kontena/cli/common'
require 'kontena/cli/grid_options'
require 'kontena/client'

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'
  config.before(:each) do
    allow(Dir).to receive(:home).and_return('/tmp/')
  end
end

require_relative 'support/client_helpers'
require_relative 'support/fixtures_helpers'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kontena-cli-0.14.7 spec/spec_helper.rb
kontena-cli-0.14.6 spec/spec_helper.rb
kontena-cli-0.14.5 spec/spec_helper.rb
kontena-cli-0.14.4 spec/spec_helper.rb
kontena-cli-0.14.3 spec/spec_helper.rb
kontena-cli-0.14.2 spec/spec_helper.rb