Sha256: 15a9d52984b4ec93f863522976017e27a8776ff421021625f4b59e45d6bdf5ee

Contents?: true

Size: 886 Bytes

Versions: 5

Compression:

Stored size: 886 Bytes

Contents

require 'bundler'
Bundler.setup

# if RUBY_VERSION =~ /^1\.9/
#   require 'simplecov'
#   SimpleCov.start
# else
#   require 'rspec'
#   require 'rcov'
# end

# # Add this folder to the load path for "spec_helper"
# $:.unshift(File.dirname(__FILE__))

require 'active_support/core_ext'
require 'vagrant/test_helpers'
require 'melissadata'

MelissaData.env = :test

# Try to load ruby debug since its useful if it is available.
# But not a big deal if its not available (probably on a non-MRI
# platform)
begin
  require 'ruby-debug'
rescue LoadError
end

Dir[File.expand_path("helpers/**/*.rb", File.dirname(__FILE__))].each {|f| require f}

# Add the I18n locale for tests
I18n.load_path << File.expand_path("../locales/en.yml", __FILE__)

RSpec.configure do |c|
  # Some opts are set in Guardfile
  c.color_enabled = true
  # include Vagrant::TestHelpers
  include VagrantHelpers
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
melissadata-0.1.5 spec/spec_helper.rb
melissadata-0.1.4 spec/spec_helper.rb
melissadata-0.1.3 spec/spec_helper.rb
melissadata-0.1.2 spec/spec_helper.rb
melissadata-0.1.1 spec/spec_helper.rb