Sha256: e30999a2c3dad61c2d74303608019b94fc7fda537b19b9cf54d535acc968d5a9
Contents?: true
Size: 507 Bytes
Versions: 2
Compression:
Stored size: 507 Bytes
Contents
require 'bundler' Bundler.setup(:default, :test) require 'rspec' require "ginatra" require 'webrat' require 'rack/test' Webrat.configure do |config| config.mode = :rack end current_path = File.expand_path(File.dirname(__FILE__)) Ginatra::App.set :environment, :test Ginatra::Config[:git_dirs] = ["#{current_path}/../repos/*"] RSpec.configure do |config| def app Ginatra::App end config.include(Rack::Test::Methods) config.include(Webrat::Methods) config.include(Webrat::Matchers) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ginatra-2.2.4 | spec/spec_helper.rb |
ginatra-2.2.3 | spec/spec_helper.rb |