Sha256: 895e69bac8bd061f832fefda3a450fa50f5997513786cc0a46bec4a68eb53bc6

Contents?: true

Size: 398 Bytes

Versions: 17

Compression:

Stored size: 398 Bytes

Contents

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

17 entries across 17 versions & 4 rubygems

Version Path
Pistos-ramaze-2008.09 spec/examples/linking.rb
Pistos-ramaze-2008.12 spec/examples/linking.rb
Pistos-ramaze-2009.01 spec/examples/linking.rb
Pistos-ramaze-2009.02 spec/examples/linking.rb
manveru-ramaze-2008.07 spec/examples/linking.rb
manveru-ramaze-2008.08 spec/examples/linking.rb
manveru-ramaze-2008.09 spec/examples/linking.rb
manveru-ramaze-2008.10 spec/examples/linking.rb
manveru-ramaze-2008.12 spec/examples/linking.rb
manveru-ramaze-2009.01 spec/examples/linking.rb
ptomato-ramaze-2009.02.1 spec/examples/linking.rb
ptomato-ramaze-2009.02 spec/examples/linking.rb
ramaze-2008.06 spec/examples/linking.rb
ramaze-2009.01 spec/examples/linking.rb
ramaze-2008.11 spec/examples/linking.rb
ramaze-2009.03 spec/examples/linking.rb
ramaze-2009.02 spec/examples/linking.rb