Commit 684877ac authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix test broken by 89c94290

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 3aee31c0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment