Sha256: 4b06c13ab00a98a63571b143349e87e4fea4ae591989012ad8a376489ebe1ec9

Contents?: true

Size: 625 Bytes

Versions: 13

Compression:

Stored size: 625 Bytes

Contents

require "coveralls"

Coveralls.wear! if ENV["COVERAGE"] == "true"

require "rspec"
require "rspec/core"
require "rspec/matchers"
require "rspec/expectations"
require "raml-rb"
require "json_test_data"
require "fileutils"

SPEC_DIR_ROOT = File.expand_path("../", __FILE__)
RAMBO_ROOT =  File.expand_path("../../lib", __FILE__)
lib = File.expand_path(File.join(RAMBO_ROOT, "**/*.rb"))
Dir[lib].each {|f| require f }

RSpec.configure do |c|
  c.disable_monkey_patching!
  c.order = :random

  c.after(:each) do
    File.delete("spec/rambo_helper.rb") rescue nil
    FileUtils.rm_rf("spec/support/matchers") rescue nil
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rambo_ruby-0.7.1 spec/spec_helper.rb
rambo_ruby-0.7.0 spec/spec_helper.rb
rambo_ruby-0.6.0 spec/spec_helper.rb
rambo_ruby-0.5.0 spec/spec_helper.rb
rambo_ruby-0.4.0 spec/spec_helper.rb
rambo_ruby-0.3.3 spec/spec_helper.rb
rambo_ruby-0.3.2 spec/spec_helper.rb
rambo_ruby-0.3.1 spec/spec_helper.rb
rambo_ruby-0.3.0 spec/spec_helper.rb
rambo_ruby-0.2.3 spec/spec_helper.rb
rambo_ruby-0.2.2 spec/spec_helper.rb
rambo_ruby-0.2.1 spec/spec_helper.rb
rambo_ruby-0.2.0 spec/spec_helper.rb