Sha256: 08366356750b10a5349e88372e56000d85613a56e13d72b5b1fcf3da35517320
Contents?: true
Size: 544 Bytes
Versions: 14
Compression:
Stored size: 544 Bytes
Contents
require 'ramaze' require 'ramaze/spec/bacon' require __DIR__('../app') describe MainController do behaves_like :rack_test should 'show start page' do get('/').status.should == 200 last_response['Content-Type'].should == 'text/html' last_response.should =~ /<h1>Welcome to Ramaze!<\/h1>/ end should 'show /notemplate' do get('/notemplate').status.should == 200 last_response['Content-Type'].should == 'text/html' last_response.should =~ /there is no 'notemplate\.xhtml' associated with this action/ end end
Version data entries
14 entries across 14 versions & 5 rubygems