Sha256: e003119e4161ecc509468b1cc02ce5d5fd10480a911ad29b0e52b368cb6b29f9
Contents?: true
Size: 524 Bytes
Versions: 52
Compression:
Stored size: 524 Bytes
Contents
# See http://wiki.github.com/aslakhellesoy/cucumber/sinatra # for more details about Sinatra with Cucumber # Sinatra app_file = File.join(File.dirname(__FILE__), *%w[.. .. app.rb]) require app_file # Force the application name because polyglot breaks the auto-detection logic. Sinatra::Application.app_file = app_file # RSpec require 'spec/expectations' # Webrat require 'webrat' Webrat.configure do |config| config.mode = :sinatra end World{Webrat::SinatraSession.new} World(Webrat::Matchers, Webrat::HaveTagMatcher)
Version data entries
52 entries across 52 versions & 4 rubygems