Sha256: f69a33c23bfd4df7511562fb2ed34eb4d259ef02268a81a7c57cf120c4689837

Contents?: true

Size: 392 Bytes

Versions: 4

Compression:

Stored size: 392 Bytes

Contents

require 'spec/helper'
require 'examples/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

4 entries across 4 versions & 2 rubygems

Version Path
clivecrous-ramaze-0.3.9.5 spec/examples/linking.rb
ramaze-0.3.5 spec/examples/linking.rb
ramaze-0.3.9.1 spec/examples/linking.rb
ramaze-0.3.9 spec/examples/linking.rb