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.4.7 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.9.6 test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.4.6 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.9.5 test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.4.5 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.9.4 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.9.3 test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.4.4 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.4.3 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.9.1 test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.4.2 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.9.0 test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.4.1 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.4.0 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.8.0 test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.3.2 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.3.1 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.7.1 test/dummy/test/controllers/hello_controller_test.rb
express_templates-0.7.0 test/dummy/test/controllers/hello_controller_test.rb
express_admin-1.3.0 vendor/gems/express_templates/test/dummy/test/controllers/hello_controller_test.rb