Fix user_project observer test.

This commit is contained in:
Marin Jankovski 2014-04-03 16:35:33 +02:00
parent 0e7665e09b
commit eca269f7f9

View file

@ -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