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:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 16:59:59 +0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 17:39:27 +0300
commit3d52e139b13ad077286f2f9f46b7e98f43ad9564 (patch)
tree22c70561b0f64851d938e44661aafeed3a2c80b2 /spec/factories
parent408e010d65e7e2e2b64a694e12d44636d7d81dec (diff)
Rename Tasks to Todos
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/todos.rb (renamed from spec/factories/tasks.rb)10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/factories/tasks.rb b/spec/factories/todos.rb
index 4df489fa4c9..bd85b1d798a 100644
--- a/spec/factories/tasks.rb
+++ b/spec/factories/todos.rb
@@ -1,6 +1,6 @@
# == Schema Information
#
-# Table name: tasks
+# Table name: todos
#
# id :integer not null, primary key
# user_id :integer not null
@@ -16,19 +16,19 @@
#
FactoryGirl.define do
- factory :task do
+ factory :todo do
project
author
user
target factory: :issue
- action { Task::ASSIGNED }
+ action { Todo::ASSIGNED }
trait :assigned do
- action { Task::ASSIGNED }
+ action { Todo::ASSIGNED }
end
trait :mentioned do
- action { Task::MENTIONED }
+ action { Todo::MENTIONED }
end
end
end