1
0
Fork 0
musicbrainz/spec/spec_helper.rb

22 lines
504 B
Ruby
Raw Normal View History

# -*- encoding : utf-8 -*-
require "rubygems"
require "bundler/setup"
2011-10-19 13:49:54 +00:00
require "musicbrainz"
require "pry"
2011-10-19 13:49:54 +00:00
2013-01-20 12:36:52 +00:00
RSpec.configure do |c|
c.order = 'random'
end
2012-10-12 12:45:51 +00:00
MusicBrainz.configure do |c|
2013-01-20 12:36:52 +00:00
test_email = `git config user.email`.chomp
2012-10-12 12:45:51 +00:00
test_email = "magnolia_fan@me.com" if test_email.empty?
c.app_name = "MusicBrainzGemTestSuite"
c.app_version = MusicBrainz::VERSION
c.contact = test_email
2011-10-19 13:49:54 +00:00
2013-01-20 12:36:52 +00:00
c.cache_path = File.join(File.dirname(__FILE__), '..', 'tmp', 'spec_cache')
c.perform_caching = true
end