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

Version Path
Pistos-ramaze-2009.04.08 spec/examples/linking.rb
manveru-ramaze-2009.04.01 spec/examples/linking.rb
manveru-ramaze-2009.04.08 spec/examples/linking.rb
manveru-ramaze-2009.04.18 spec/examples/linking.rb
manveru-ramaze-2009.04.22 spec/examples/linking.rb
manveru-ramaze-2009.04 spec/examples/linking.rb
manveru-ramaze-2009.05.08 spec/examples/linking.rb
manveru-ramaze-2009.05 spec/examples/linking.rb
ramaze-2009.04 spec/examples/linking.rb
ramaze-2009.05 spec/examples/linking.rb