Sha256: d84612e62d1fa6290d1f0797ad237d8fb48006a6a4673d061b3f1bfccc1f3924

Contents?: true

Size: 641 Bytes

Versions: 2

Compression:

Stored size: 641 Bytes

Contents

require 'rubygems'
require 'bundler'

Bundler.require :default, :development

if /sinatra/ =~ ENV['FRAMEWORK']
  require File.join(File.dirname(__FILE__), 'frameworks', 'sinatra_app.rb')
  FRAMEWORK = :sinatra
elsif /rails/ =~ ENV['FRAMEWORK']
  require File.join(File.dirname(__FILE__), 'frameworks', 'rails_app.rb')
  FRAMEWORK = :rails
end

Dir[File.join(File.dirname(__FILE__), 'support', '**', '*.rb')].each do |file|
  require file
end

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = 'random'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wrap_it-1.0.0 spec/spec_helper.rb
wrap_it-0.2.0 spec/spec_helper.rb