spec/spec_helper.rb in blendris-0.0.1 vs spec/spec_helper.rb in blendris-0.0.2

- old
+ new

@@ -5,12 +5,14 @@ gem 'rspec' require 'spec' end $:.unshift(File.dirname(__FILE__) + '/../lib') -require 'blendris' +require "rubygems" +require "./lib/blendris" + include Blendris module TestFixtures class Food < Model @@ -57,13 +59,12 @@ end end Spec::Runner.configure do |config| - config.before(:each) do - extend RedisAccessor - extend TestFixtures + include TestFixtures + config.before(:each) do RedisAccessor.prefix = "blendris-spec:" RedisAccessor.flush_keys @vegetable = Category.create("vegetable") @onion = Food.create("onion")