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
Jérome Perrin
gitlab-ce
Commits
0dab0837
Commit
0dab0837
authored
Jan 26, 2018
by
Matija Čupić
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Callout specs
parent
89ea6a99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
spec/factories/callouts.rb
spec/factories/callouts.rb
+8
-0
spec/models/callout_spec.rb
spec/models/callout_spec.rb
+9
-0
No files found.
spec/factories/callouts.rb
0 → 100644
View file @
0dab0837
FactoryBot
.
define
do
factory
:callout
do
feature_name
'test_callout'
dismissed_state
false
user
end
end
spec/models/callout_spec.rb
0 → 100644
View file @
0dab0837
require
'rails_helper'
describe
Callout
do
let
(
:callout
)
{
create
(
:callout
)
}
describe
'relationships'
do
it
{
is_expected
.
to
belong_to
(
:user
)
}
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