Sha256: f3587ff5a0fe983b14b5d105c4c3794f1c7027b0d6dfe612c04ad874cd237a34

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 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

1 entries across 1 versions & 1 rubygems

Version Path
ramaze-0.3.0 spec/examples/linking.rb