Commit 2ed06dc4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix group_icon spec

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 261f212b
......@@ -52,7 +52,7 @@ describe ApplicationHelper do
it "should give default avatar_icon when no avatar is present" do
group = create(:group)
group.save!
group_icon(group.path).to_s.should == "/assets/no_group_avatar.png"
group_icon(group.path).should match("group_avatar.png")
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