Created
June 10, 2009 04:20
-
-
Save nofxx/127017 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ramaze Cucumber | |
require 'ramaze' | |
require 'webrat' | |
require 'ramaze/spec/bacon' | |
require File.join(File.dirname(__FILE__), *%w[.. .. start.rb]) | |
def app; Ramaze.middleware; end | |
Ramaze.setup_dependencies | |
Webrat.configure do |config| | |
config.mode = :rack_test | |
end | |
World do | |
extend Rack::Test::Methods | |
extend Webrat::Methods | |
extend Webrat::Matchers | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment