Sha256: 18031fc463abf7444b0f011df41b9793f3e0b361769a7ee23b4930e2b1f3994b

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

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

describe 'Element' do
  behaves_like :mock

  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

3 entries across 3 versions & 2 rubygems

Version Path
manveru-ramaze-2009.05.08 spec/examples/element.rb
manveru-ramaze-2009.05 spec/examples/element.rb
ramaze-2009.05 spec/examples/element.rb