Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VeNJOB
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
Nguyen Ngoc Nghia
VeNJOB
Commits
c81913ab
Commit
c81913ab
authored
Nov 29, 2019
by
nnnghia98
Browse files
Options
Browse Files
Download
Plain Diff
fix conflict
parents
4bffefa9
fd402f92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
test/controllers/static_pages_controller_test.rb
+10
-6
No files found.
test/controllers/static_pages_controller_test.rb
View file @
c81913ab
require
'test_helper'
class
StaticPagesControllerTest
<
ActionDispatch
::
IntegrationTest
def
setup
@base_title
=
"VeNJOB"
end
test
"should get top_page"
do
get
root_path
get
static_pages_top_page_url
assert_response
:success
assert_select
"title"
,
"
VeNJOB
"
assert_select
"title"
,
"
Top Page |
#{
@base_title
}
"
end
test
"should get favorite"
do
get
favorite_url
get
static_pages_
favorite_url
assert_response
:success
assert_select
"title"
,
"Favorite |
VeNJOB
"
assert_select
"title"
,
"Favorite |
#{
@base_title
}
"
end
test
"should get history"
do
get
history_url
get
static_pages_
history_url
assert_response
:success
assert_select
"title"
,
"History |
VeNJOB
"
assert_select
"title"
,
"History |
#{
@base_title
}
"
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