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