Module: Messiah::Supports::Common

Defined in:
lib/messiah/supports/common.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
# File 'lib/messiah/supports/common.rb', line 2

def self.included(base)
  base.send(:include, Webrat::Methods)
  base.send(:include, Rack::Test::Methods)
  base.send(:include, Webrat::Matchers)
end

Instance Method Details

#appObject



8
9
10
11
12
# File 'lib/messiah/supports/common.rb', line 8

def app
  Rack::Builder.new {
    run Messiah::Rack::CGI.new
  }
end