Commit eca269f7f98b3a2455e7788c884bcb927ea693b1
1 parent
0e7665e0
Exists in
spb-stable
and in
3 other branches
Fix user_project observer test.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/observers/users_project_observer_spec.rb
... | ... | @@ -21,7 +21,7 @@ describe UsersProjectObserver do |
21 | 21 | |
22 | 22 | it "should send email to user" do |
23 | 23 | subject.should_receive(:notification) |
24 | - @users_project.update_attribute(:project_access, UsersProject::MASTER) | |
24 | + @users_project.update_attribute(:project_access, UsersProject::OWNER) | |
25 | 25 | end |
26 | 26 | |
27 | 27 | it "should not called after UsersProject destroyed" do | ... | ... |