Sha256: 9f09adb37fef102f46c56849ecfb5160929a97d52b66d46a437de3b463882ec4

Contents?: true

Size: 349 Bytes

Versions: 5

Compression:

Stored size: 349 Bytes

Contents

require 'spec/helper'
require 'examples/element'

describe 'Element' do
  behaves_like 'http'
  ramaze

  it '/' do
    r = get('/').body
    r.should.include('<title>examples/element</title>')
    r.should.include('<h1>Test</h1>')
    r.should.include('<a href="http://something.com">something</a>')
    r.should.include('Hello, World!')
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

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