Sha256: 895e69bac8bd061f832fefda3a450fa50f5997513786cc0a46bec4a68eb53bc6
Contents?: true
Size: 398 Bytes
Versions: 17
Compression:
Stored size: 398 Bytes
Contents
require 'spec/helper' require 'examples/basic/linking' describe 'Linking' do behaves_like 'http' ramaze it 'should provide a link to help' do r = get('/').body r.should.include('<a href="/help">Help?</a>') end it 'should provide a link to another controller' do r = get('/help').body r.should.include('<a href="/link_to/another">A Different Controller</a>') end end
Version data entries
17 entries across 17 versions & 4 rubygems