Fix user_project observer test.
This commit is contained in:
parent
0e7665e09b
commit
eca269f7f9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue