Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

week3_shrihari_padigar #107

Open
wants to merge 9 commits into
base: week3_assignment
Choose a base branch
from
Prev Previous commit
Next Next commit
add hello_world test
hrushikeshj committed Jan 10, 2023
commit 43a71232b06843ed3260e9e2600d673ad540a4a5
15 changes: 15 additions & 0 deletions week_3/page_controller_test.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
require "test_helper"

class PageControllerTest < ActionDispatch::IntegrationTest
test "should get root" do
get '/'
assert_response :success

assert_select "h1", "Hello, World!"
end

test "should get about_me" do
get "/about_me"
assert_response :success
end
end