Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 13:03:02 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-05 13:03:02 +0300
commit1c4d1c3bd69a6f9ec43cce4ab59de4ba47f73229 (patch)
treed549337514c34ab2e92890d37ac12c22aca395c8 /spec/factories/releases.rb
parent33b8f002636ad6171637108b53732c74d90b14ad (diff)
Add release model
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/factories/releases.rb')
-rw-r--r--spec/factories/releases.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/releases.rb b/spec/factories/releases.rb
new file mode 100644
index 00000000000..067d8138e41
--- /dev/null
+++ b/spec/factories/releases.rb
@@ -0,0 +1,9 @@
+# Read about factories at https://github.com/thoughtbot/factory_girl
+
+FactoryGirl.define do
+ factory :release do
+ tag "MyString"
+ description "MyText"
+ project_id 1
+ end
+end