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

Version Path
ramaze-2023.01.06 spec/examples/linking.rb
Pistos-ramaze-2009.06.12 spec/examples/linking.rb
manveru-ramaze-2009.07 spec/examples/linking.rb
ramaze-2012.12.08 spec/examples/linking.rb
ramaze-2012.12.08b spec/examples/linking.rb
ramaze-2012.04.14 spec/examples/linking.rb
ramaze-2012.03.07 spec/examples/linking.rb
ramaze-2011.12.28 spec/examples/linking.rb
ramaze-2011.10.23 spec/examples/linking.rb
ramaze-2011.07.25 spec/examples/linking.rb
ramaze-2011.01.30 spec/examples/linking.rb
ramaze-2011.01 spec/examples/linking.rb
ramaze-2010.06.18 spec/examples/linking.rb
ramaze-2010.04.04 spec/examples/linking.rb
ramaze-2010.04 spec/examples/linking.rb
ramaze-2010.03 spec/examples/linking.rb
ramaze-2010.01 spec/examples/linking.rb
ramaze-2009.10 spec/examples/linking.rb
ramaze-2009.07 spec/examples/linking.rb