diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-14 18:04:29 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-14 18:04:29 +0200 |
commit | c1531fe1d801b175d8ecf7646592b1f5e9a8e508 (patch) | |
tree | 22960273b6f56a59fff3a976f7d55190b4ad75f8 /app/models/member.rb | |
parent | cb5362e7ce0496e4fa7bec4ae629fd24e93d721e (diff) | |
download | gitlab-ce-c1531fe1d801b175d8ecf7646592b1f5e9a8e508.tar.gz |
Add spinach tests around accepting and declining invitations.
Diffstat (limited to 'app/models/member.rb')
-rw-r--r-- | app/models/member.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index 9340c442172..d151c7b2390 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -22,6 +22,8 @@ class Member < ActiveRecord::Base include Notifiable include Gitlab::Access + attr_accessor :raw_invite_token + belongs_to :created_by, class_name: "User" belongs_to :user belongs_to :source, polymorphic: true |