Sha256: 76a51c52649ab76a2a041da483d543a70709f067e3339ef7ab873aaa49d81447
Contents?: true
Size: 588 Bytes
Versions: 7
Compression:
Stored size: 588 Bytes
Contents
require 'helper' require 'fixtures/render_app/app' class TestRenderPlugin < Test::Unit::TestCase def app RenderDemo.tap { |app| app.set :environment, :test } end context 'for #haml_template method' do setup { visit '/render_haml' } should('render template properly') do assert_have_selector "h1", :content => "This is a haml template!" end end context 'for #erb_template method' do setup { visit '/render_erb' } should('render template properly') do assert_have_selector "h1", :content => "This is a erb template!" end end end
Version data entries
7 entries across 7 versions & 1 rubygems