spec/spec_helper.rb in pancake-0.2.0 vs spec/spec_helper.rb in pancake-0.3.0
- old
+ new
@@ -7,18 +7,18 @@
require 'spec'
require 'haml'
require 'json'
ENV['RACK_ENV'] = "test"
-
+$:.unshift File.dirname(__FILE__)
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
require 'pancake'
Dir[File.join(File.dirname(__FILE__), "helpers", "**/*.rb")].each{|f| require f}
Spec::Runner.configure do |config|
- config.include(Pancake::Matchers)
- config.include(Pancake::Spec::Helpers)
+ config.include(Pancake::Test::Matchers)
+ config.include(Pancake::Test::Helpers)
config.include(Rack::Test::Methods)
end