Sha256: d26543c41cf46d81dbb4c744101013f3cdaede84c4ca27f6cabdae62e9432455
Contents?: true
Size: 467 Bytes
Versions: 19
Compression:
Stored size: 467 Bytes
Contents
require File.expand_path('../../../spec/helper', __FILE__) require File.expand_path('../../../examples/basic/linking', __FILE__) describe 'Linking' do behaves_like :rack_test 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
19 entries across 19 versions & 3 rubygems