Sha256: 2f77229af930c71c322fa5170b7f5630b5933d1642c2bed980489f0f2fc8a4d8

Contents?: true

Size: 607 Bytes

Versions: 30

Compression:

Stored size: 607 Bytes

Contents

%w(auth authentication authorization).each do |library_name|
  path = File.expand_path("../../#{library_name}/lib", __FILE__)
  $LOAD_PATH.unshift(path) unless $LOAD_PATH.include?(path)
end

ENV["RACK_ENV"] = "test"
ENV["RAILS_ENV"] = "test"

require "rspec"

Dir.glob("./spec/support/**/*.rb").sort.each { |path| load path }

require "simple/cli"

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run focus: (ENV["CI"] != "true")
  config.expect_with(:rspec) { |c| c.syntax = :expect }
  config.include FactoryGirl::Syntax::Methods
  config.order = "random"
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
simple-cli-0.2.28 spec/spec_helper.rb
simple-cli-0.3.0 spec/spec_helper.rb
simple-cli-0.2.23 spec/spec_helper.rb
simple-cli-0.2.22 spec/spec_helper.rb
simple-cli-0.2.21 spec/spec_helper.rb
simple-cli-0.2.20 spec/spec_helper.rb
simple-cli-0.2.19 spec/spec_helper.rb
simple-cli-0.2.18 spec/spec_helper.rb
simple-cli-0.2.17 spec/spec_helper.rb
simple-cli-0.2.16 spec/spec_helper.rb
simple-cli-0.2.15 spec/spec_helper.rb
simple-cli-0.2.14 spec/spec_helper.rb
simple-cli-0.2.13 spec/spec_helper.rb
simple-cli-0.2.12 spec/spec_helper.rb
simple-cli-0.2.11 spec/spec_helper.rb
simple-cli-0.2.10 spec/spec_helper.rb
simple-cli-0.2.9 spec/spec_helper.rb
simple-cli-0.2.8 spec/spec_helper.rb
simple-cli-0.2.7 spec/spec_helper.rb
simple-cli-0.2.6 spec/spec_helper.rb