Sha256: d9094e76514edab2b0dac1b8cac96aeddfd8dd24d59d2aaab4172193004dfc90

Contents?: true

Size: 561 Bytes

Versions: 13

Compression:

Stored size: 561 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.order = "random"
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
simple-cli-0.4.2 spec/spec_helper.rb
simple-cli-0.4.1 spec/spec_helper.rb
simple-cli-0.4.0 spec/spec_helper.rb
simple-cli-0.3.13 spec/spec_helper.rb
simple-cli-0.3.12 spec/spec_helper.rb
simple-cli-0.3.11 spec/spec_helper.rb
simple-cli-0.3.10 spec/spec_helper.rb
simple-cli-0.3.9 spec/spec_helper.rb
simple-cli-0.3.8 spec/spec_helper.rb
simple-cli-0.3.7 spec/spec_helper.rb
simple-cli-0.3.5 spec/spec_helper.rb
simple-cli-0.3.4 spec/spec_helper.rb
simple-cli-0.3.3 spec/spec_helper.rb