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