diff options
author | Marin Jankovski <marin@gitlab.com> | 2014-04-03 16:35:33 +0200 |
---|---|---|
committer | Marin Jankovski <marin@gitlab.com> | 2014-04-03 16:35:33 +0200 |
commit | eca269f7f98b3a2455e7788c884bcb927ea693b1 (patch) | |
tree | 4759d2d3cde45fa68cd04dfd5c1d0f0b9357ab5f /spec | |
parent | 0e7665e09b75a5ddeed16df894f31a632d7338aa (diff) | |
download | gitlab-ce-eca269f7f98b3a2455e7788c884bcb927ea693b1.tar.gz |
Fix user_project observer test.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/observers/users_project_observer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/observers/users_project_observer_spec.rb b/spec/observers/users_project_observer_spec.rb index be277b4dbd2..b024465e8c3 100644 --- a/spec/observers/users_project_observer_spec.rb +++ b/spec/observers/users_project_observer_spec.rb @@ -21,7 +21,7 @@ describe UsersProjectObserver do it "should send email to user" do subject.should_receive(:notification) - @users_project.update_attribute(:project_access, UsersProject::MASTER) + @users_project.update_attribute(:project_access, UsersProject::OWNER) end it "should not called after UsersProject destroyed" do |