Sha256: f0369f13e1686c05bf9ff275eb087b3964bf6ca289164b036a1f263f17555beb
Contents?: true
Size: 446 Bytes
Versions: 19
Compression:
Stored size: 446 Bytes
Contents
require File.expand_path('../../../spec/helper', __FILE__) spec_require 'nagoro' require File.expand_path('../../../examples/basic/element', __FILE__) 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
19 entries across 19 versions & 3 rubygems