Commit 2ed06dc41dbb5936af845b87d79e05bbf24c73b8
1 parent
261f212b
Exists in
spb-stable
and in
3 other branches
Fix group_icon spec
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/helpers/application_helper_spec.rb
... | ... | @@ -52,7 +52,7 @@ describe ApplicationHelper do |
52 | 52 | it "should give default avatar_icon when no avatar is present" do |
53 | 53 | group = create(:group) |
54 | 54 | group.save! |
55 | - group_icon(group.path).to_s.should == "/assets/no_group_avatar.png" | |
55 | + group_icon(group.path).should match("group_avatar.png") | |
56 | 56 | end |
57 | 57 | end |
58 | 58 | ... | ... |