Commit 684877acc4786bc3b641797644ba0d19cd1f2399
1 parent
3aee31c0
Exists in
spb-stable
and in
3 other branches
Fix test broken by 89c942908cc1d98dfd4af1f89b69704f691a0edf
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/models/project_spec.rb
@@ -74,7 +74,7 @@ describe Project do | @@ -74,7 +74,7 @@ describe Project do | ||
74 | project2 = build(:project) | 74 | project2 = build(:project) |
75 | project2.stub(:creator).and_return(double(can_create_project?: false, projects_limit: 0).as_null_object) | 75 | project2.stub(:creator).and_return(double(can_create_project?: false, projects_limit: 0).as_null_object) |
76 | project2.should_not be_valid | 76 | project2.should_not be_valid |
77 | - project2.errors[:limit_reached].first.should match(/Your own projects limit is 0/) | 77 | + project2.errors[:limit_reached].first.should match(/Your project limit is 0/) |
78 | end | 78 | end |
79 | end | 79 | end |
80 | 80 |