Sha256: 19e2313c15de70bde3cbdd3f644efbf47b9ec8b06dac36e82b9d7afcb37c9246

Contents?: true

Size: 437 Bytes

Versions: 9

Compression:

Stored size: 437 Bytes

Contents

require 'test_helper'

class HelloControllerTest < ActionController::TestCase

  test "should get show" do
    get :show
    assert_response :success
    # puts @response.body
    assert_match /<h1>Hi there<\/h1>/, @response.body
    assert_match %Q(<link data-turbolinks-track="true" href="/assets/application.css" media="all" rel="stylesheet" />), @response.body
    assert_no_match %Q(Dummy ShowDummy Show), @response.body
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
express_templates-0.3.1 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.3.0 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.2.7 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.2.6 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.2.5 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.2.4 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.2.3 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.2.2 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.2.0 test/dummy/test/controllers/hello_controller_test.rb