Sha256: f44984960debcbeff28726a75a1e4aef2f9f8c126ab5d60ac53607a685619e49
Contents?: true
Size: 388 Bytes
Versions: 10
Compression:
Stored size: 388 Bytes
Contents
require 'spec/helper' require 'examples/basic/linking' describe 'Linking' do behaves_like :mock 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
10 entries across 10 versions & 3 rubygems