Sha256: ddeaacbcf3393ea457f39f151b530a7b49dd8b52a495a72cd8cde9225c464eac
Contents?: true
Size: 580 Bytes
Versions: 14
Compression:
Stored size: 580 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 do session = Webrat::SinatraSession.new session.extend(Webrat::Matchers) session.extend(Webrat::HaveTagMatcher) session end
Version data entries
14 entries across 14 versions & 4 rubygems