diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 17:10:15 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 17:10:15 +0300 |
commit | 03654a6abf47c88b8b980a6707874ff78080d2fe (patch) | |
tree | c5ba2dba7f0685dd6c5e656a50f70400a746b23e /spec/factories/label_links.rb | |
parent | 535feb08ce90352c89799df5e3e70a10e53ee10d (diff) | |
download | gitlab-ce-03654a6abf47c88b8b980a6707874ff78080d2fe.tar.gz |
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/factories/label_links.rb')
-rw-r--r-- | spec/factories/label_links.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/label_links.rb b/spec/factories/label_links.rb new file mode 100644 index 00000000000..d6b6f8581f6 --- /dev/null +++ b/spec/factories/label_links.rb @@ -0,0 +1,8 @@ +# Read about factories at https://github.com/thoughtbot/factory_girl + +FactoryGirl.define do + factory :label_link do + label + target factory: :issue + end +end |