Sha256: 546cbf03aa6a6cf9f7ef18a713ea06fe24d35ccbfbfa641d1b6b12cd18a0edb9

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 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"
require "awesome_print"
Dir.glob("./spec/support/**/*.rb").sort.each { |path| load path }

require "simple/sql"

SQL = Simple::SQL

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

1 entries across 1 versions & 1 rubygems

Version Path
simple-sql-0.2.6 spec/spec_helper.rb