Sha256: ad42cd020452c4025171415612442793473a8966f1343e293cac6948f90bab95

Contents?: true

Size: 751 Bytes

Versions: 12

Compression:

Stored size: 751 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'rspec'
require 'spork'
require 'berkshelf/api/rspec'

Spork.prefork do
  Dir[File.join(File.expand_path("../../spec/support/**/*.rb", __FILE__))].each { |f| require f }

  RSpec.configure do |config|
    config.include Berkshelf::API::RSpec

    config.expect_with :rspec do |c|
      c.syntax = :expect
    end

    config.mock_with :rspec
    config.treat_symbols_as_metadata_keys_with_true_values = true
    config.filter_run focus: true
    config.run_all_when_everything_filtered = true

    config.before(:suite) { Berkshelf::API::RSpec::Server.start }
    config.before(:all) { Berkshelf::API::Logging.init(location: '/dev/null') }
  end
end

Spork.each_run do
  require 'berkshelf/api-client'
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
berkshelf-api-client-2.0.2 spec/spec_helper.rb
berkshelf-api-client-2.0.1 spec/spec_helper.rb
berkshelf-api-client-1.3.1 spec/spec_helper.rb
berkshelf-api-client-2.0.0 spec/spec_helper.rb
berkshelf-api-client-1.3.0 spec/spec_helper.rb
berkshelf-api-client-1.2.1 spec/spec_helper.rb
berkshelf-api-client-1.2.0 spec/spec_helper.rb
berkshelf-api-client-1.2.0.rc2 spec/spec_helper.rb
berkshelf-api-client-1.2.0.rc1 spec/spec_helper.rb
berkshelf-api-client-1.1.1 spec/spec_helper.rb
berkshelf-api-client-1.1.0 spec/spec_helper.rb
berkshelf-api-client-1.0.0 spec/spec_helper.rb