Sha256: 96bf51c2aa4e9246b864f3ff2473ed22dfc3b28355039527a484139f52f9834a

Contents?: true

Size: 995 Bytes

Versions: 9

Compression:

Stored size: 995 Bytes

Contents

require "simplecov"
SimpleCov.start

require "pry"
require "bundler/setup"

require "shamu"
require "shamu/rspec"
require "scorpion/rspec"
require "rspec/wait"
require "rspec/its"

root_path = File.expand_path( "../..", __FILE__ )

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[ File.join( root_path, "spec/support/**/*.rb" ) ].each { |f| require f }

RSpec.configure do |config|

  config.order = "random"

  config.filter_gems_from_backtrace "activesupport", "actionpack", "actionview", "scorpion-ioc", "rspec-wait",
                                    "rspec-core", "rspec", "rspec-support", "rspec-expectations"

  config.filter_run focus: true
  config.filter_run_excluding :broken => true
  config.run_all_when_everything_filtered = true

  config.include Scorpion::Rspec::Helper
  config.extend  Support::ActiveRecord

  config.before(:all) do
    Shamu::Security.private_key = SecureRandom.base64( 128 )
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
shamu-0.0.24 spec/spec_helper.rb
shamu-0.0.21 spec/spec_helper.rb
shamu-0.0.20 spec/spec_helper.rb
shamu-0.0.19 spec/spec_helper.rb
shamu-0.0.18 spec/spec_helper.rb
shamu-0.0.17 spec/spec_helper.rb
shamu-0.0.15 spec/spec_helper.rb
shamu-0.0.14 spec/spec_helper.rb
shamu-0.0.13 spec/spec_helper.rb