spec/spec_helper.rb in blendris-0.6 vs spec/spec_helper.rb in blendris-1.0

- old
+ new

@@ -1,11 +1,11 @@ begin - require 'spec' + require 'rspec' rescue LoadError require 'rubygems' unless ENV['NO_RUBYGEMS'] gem 'rspec' - require 'spec' + require 'rspec' end $:.unshift(File.dirname(__FILE__) + '/../lib') require "rubygems" @@ -84,10 +84,10 @@ class TestEx < Exception; end end -Spec::Runner.configure do |config| +RSpec.configure do |config| include TestFixtures config.before(:each) do Blendris.database = 11 Blendris.flushdb