Require 'spec', it is included in the .gemspec and requires manual require.

This commit is contained in:
Simone Carletti 2012-06-14 15:04:30 +02:00
parent bc3d05d7c4
commit 56657a8f65
1 changed files with 3 additions and 4 deletions

View File

@ -1,8 +1,7 @@
spec_dir = File.expand_path("..", __FILE__)
lib_dir = File.expand_path("../lib", spec_dir)
$LOAD_PATH.unshift(lib_dir)
$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
$LOAD_PATH.uniq!
require 'rspec'
RSpec.configure do |config|
end