Sha256: 991fc923378de98ade6eecb91b0870a4a1cee00f914385342286c8ce358a590f

Contents?: true

Size: 372 Bytes

Versions: 8

Compression:

Stored size: 372 Bytes

Contents

require 'spec/helper'
spec_require 'nagoro'
require 'examples/basic/element'

describe 'Element' do
  behaves_like :rack_test

  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

8 entries across 8 versions & 3 rubygems

Version Path
manveru-ramaze-2009.06.04 spec/examples/element.rb
manveru-ramaze-2009.06.12 spec/examples/element.rb
manveru-ramaze-2009.06 spec/examples/element.rb
rjspotter-ramaze-2009.06.29 spec/examples/element.rb
rjspotter-ramaze-2009.06.31 spec/examples/element.rb
ramaze-2009.06.04 spec/examples/element.rb
ramaze-2009.06.12 spec/examples/element.rb
ramaze-2009.06 spec/examples/element.rb