Sha256: c6f388ff9029fc486495ae34ce09c039a9e03c037e23b704b49fb441b4f295aa
Contents?: true
Size: 407 Bytes
Versions: 2
Compression:
Stored size: 407 Bytes
Contents
require "webrat" require "rack/test" require "stories" require "stories/runner" Webrat.configure do |config| config.mode = :rack end class Test::Unit::TestCase include Rack::Test::Methods include Webrat::Methods include Webrat::Matchers include Stories::Webrat def app Cuba.app end end module Cuba def self.test(name, &block) Test::Unit::TestCase.context(name, &block) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cuba-0.0.2 | lib/cuba/test.rb |
cuba-0.0.1 | lib/cuba/test.rb |