Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
1c4604bf
Commit
1c4604bf
authored
May 18, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"expect { }.not_to raise_error" no longer takes a specific class
parent
47251b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
spec/models/deploy_keys_project_spec.rb
spec/models/deploy_keys_project_spec.rb
+2
-6
No files found.
spec/models/deploy_keys_project_spec.rb
View file @
1c4604bf
...
...
@@ -36,9 +36,7 @@ describe DeployKeysProject do
it
"doesn't destroy the deploy key"
do
subject
.
destroy
expect
{
deploy_key
.
reload
}.
not_to
raise_error
(
ActiveRecord
::
RecordNotFound
)
expect
{
deploy_key
.
reload
}.
not_to
raise_error
end
end
...
...
@@ -63,9 +61,7 @@ describe DeployKeysProject do
it
"doesn't destroy the deploy key"
do
subject
.
destroy
expect
{
deploy_key
.
reload
}.
not_to
raise_error
(
ActiveRecord
::
RecordNotFound
)
expect
{
deploy_key
.
reload
}.
not_to
raise_error
end
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