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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
11c9b06f
Commit
11c9b06f
authored
Jun 25, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix key observer spec
parent
dc917552
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/observers/key_observer_spec.rb
spec/observers/key_observer_spec.rb
+2
-2
No files found.
spec/observers/key_observer_spec.rb
View file @
11c9b06f
...
...
@@ -7,10 +7,10 @@ describe KeyObserver do
@observer
=
KeyObserver
.
instance
end
context
:after_
sav
e
do
context
:after_
creat
e
do
it
do
GitlabShellWorker
.
should_receive
(
:perform_async
).
with
(
:add_key
,
@key
.
shell_id
,
@key
.
key
)
@observer
.
after_
sav
e
(
@key
)
@observer
.
after_
creat
e
(
@key
)
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