Sha256: b4d1f794c3cd97caa9aa7dbd984cc565bd7164f62fca72feee63df3551fea3db

Contents?: true

Size: 437 Bytes

Versions: 70

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 /link rel="stylesheet" media="all" href="\/assets\/application.css" data-turbolinks-track="true" \/>/, @response.body
    assert_no_match %Q(Dummy ShowDummy Show), @response.body
  end

end

Version data entries

70 entries across 70 versions & 2 rubygems

Version Path
express_admin-1.2.1 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.2.0 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.5.0 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.4.2 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.4.1 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.4.0 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.3.6 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.3.5 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.3.4 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.3.2 test/dummy/test/controllers/hello_controller_test.rb