Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cleaning-portalmec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Richard Fernando Heise Ferreira
cleaning-portalmec
Commits
72916f6c
Commit
72916f6c
authored
9 years ago
by
Matheus Agio Nerone
Browse files
Options
Downloads
Patches
Plain Diff
deleting tests
Signed-off-by:
man13
<
man13@inf.ufpr.br
>
parent
9a36353a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/controllers/management/object_types_controller_test.rb
+0
-49
0 additions, 49 deletions
test/controllers/management/object_types_controller_test.rb
with
0 additions
and
49 deletions
test/controllers/management/object_types_controller_test.rb
deleted
100644 → 0
+
0
−
49
View file @
9a36353a
require
'test_helper'
class
Management::ObjectTypesControllerTest
<
ActionController
::
TestCase
setup
do
@management_object_type
=
management_object_types
(
:one
)
end
test
"should get index"
do
get
:index
assert_response
:success
assert_not_nil
assigns
(
:management_object_types
)
end
test
"should get new"
do
get
:new
assert_response
:success
end
test
"should create management_object_type"
do
assert_difference
(
'Management::ObjectType.count'
)
do
post
:create
,
management_object_type:
{
}
end
assert_redirected_to
management_object_type_path
(
assigns
(
:management_object_type
))
end
test
"should show management_object_type"
do
get
:show
,
id:
@management_object_type
assert_response
:success
end
test
"should get edit"
do
get
:edit
,
id:
@management_object_type
assert_response
:success
end
test
"should update management_object_type"
do
patch
:update
,
id:
@management_object_type
,
management_object_type:
{
}
assert_redirected_to
management_object_type_path
(
assigns
(
:management_object_type
))
end
test
"should destroy management_object_type"
do
assert_difference
(
'Management::ObjectType.count'
,
-
1
)
do
delete
:destroy
,
id:
@management_object_type
end
assert_redirected_to
management_object_types_path
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment