Fix test broken by 89c942908c

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-04-08 15:58:28 +03:00
parent 3aee31c00d
commit 684877acc4
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ describe Project do
project2 = build(:project)
project2.stub(:creator).and_return(double(can_create_project?: false, projects_limit: 0).as_null_object)
project2.should_not be_valid
project2.errors[:limit_reached].first.should match(/Your own projects limit is 0/)
project2.errors[:limit_reached].first.should match(/Your project limit is 0/)
end
end