Sha256: 69f11d59f184225856ff08f028b03ff268598e570510775732842f2e708528f3
Contents?: true
Size: 823 Bytes
Versions: 6
Compression:
Stored size: 823 Bytes
Contents
require 'rubygems' require 'bundler/setup' Bundler.setup require 'rspec' require 'time' # figure out where we are being loaded from if $LOADED_FEATURES.grep(/spec\/spec_helper\.rb/).any? begin raise "foo" rescue => e puts <<-MSG =================================================== It looks like spec_helper.rb has been loaded multiple times. Normalize the require to: require "spec/spec_helper" Things like File.join and File.expand_path will cause it to be loaded multiple times. Loaded this time from: #{e.backtrace.join("\n ")} =================================================== MSG end end $:.push File.expand_path("../lib", __FILE__) require 'ekm-omnimeter' RSpec.configure do |config| config.color_enabled = true config.formatter = 'documentation' end
Version data entries
6 entries across 6 versions & 1 rubygems