Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sample_app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Đường Sỹ Hoàng
sample_app
Commits
88fc0118
Commit
88fc0118
authored
Nov 08, 2019
by
Đường Sỹ Hoàng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Identication
parent
0ba99f53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
test/controllers/static_pages_controller_test.rb
+24
-24
No files found.
test/controllers/static_pages_controller_test.rb
View file @
88fc0118
require
"test_helper"
class
StaticPagesControllerTest
<
ActionDispatch
::
IntegrationTest
class
StaticPagesControllerTest
<
ActionDispatch
::
IntegrationTest
test
"should get home"
do
get
root_path
assert_response
:success
assert_select
"title"
,
"Ruby on Rails Tutorial Sample App"
end
test
"should get home"
do
get
root_path
assert_response
:success
assert_select
"title"
,
"Ruby on Rails Tutorial Sample App"
end
test
"should get help"
do
get
help_path
assert_response
:success
assert_select
"title"
,
"Help | Ruby on Rails Tutorial Sample App"
end
test
"should get help"
do
get
help_path
assert_response
:success
assert_select
"title"
,
"Help | Ruby on Rails Tutorial Sample App"
end
test
"should get about"
do
get
about_path
assert_response
:success
assert_select
"title"
,
"About | Ruby on Rails Tutorial Sample App"
end
test
"should get about"
do
get
about_path
assert_response
:success
assert_select
"title"
,
"About | Ruby on Rails Tutorial Sample App"
end
test
"should get contact"
do
get
contact_path
assert_response
:success
assert_select
"title"
,
"Contact | Ruby on Rails Tutorial Sample App"
end
test
"should get contact"
do
get
contact_path
assert_response
:success
assert_select
"title"
,
"Contact | Ruby on Rails Tutorial Sample App"
end
test
"should get signup"
do
get
signup_path
assert_response
:success
end
assert_response
:success
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment