20 lines
463 B
Ruby
20 lines
463 B
Ruby
require "rubygems"
|
|
require "bundler/setup"
|
|
require "musicbrainz"
|
|
|
|
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
|