1
0
Fork 0
musicbrainz/spec/spec_helper.rb

22 lines
504 B
Ruby

# -*- encoding : utf-8 -*-
require "rubygems"
require "bundler/setup"
require "musicbrainz"
require "pry"
RSpec.configure do |c|
c.order = 'random'
end
MusicBrainz.configure do |c|
test_email = `git config user.email`.chomp
test_email = "magnolia_fan@me.com" if test_email.empty?
c.app_name = "MusicBrainzGemTestSuite"
c.app_version = MusicBrainz::VERSION
c.contact = test_email
c.cache_path = File.join(File.dirname(__FILE__), '..', 'tmp', 'spec_cache')
c.perform_caching = true
end