spec/spec_helper.rb in rack-jquery-0.0.1 vs spec/spec_helper.rb in rack-jquery-1.0.0

- old
+ new

@@ -1,22 +1,16 @@ # encoding: UTF-8 require 'rspec' Spec_dir = File.expand_path( File.dirname __FILE__ ) -unless Kernel.respond_to?(:require_relative) - module Kernel - def require_relative(path) - require File.join(File.dirname(caller[0]), path.to_str) - end - end -end # code coverage require 'simplecov' SimpleCov.start do add_filter "/vendor/" add_filter "/bin/" + add_filter "/spec/" end require "rack/test" ENV['RACK_ENV'] ||= 'test' ENV["EXPECT_WITH"] ||= "racktest"