diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-06 14:04:01 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-06 14:04:01 +0200 |
commit | 2ed06dc41dbb5936af845b87d79e05bbf24c73b8 (patch) | |
tree | 975f35a2e6f8ce5eddf034ed3a420124a2207a16 /spec | |
parent | 261f212b3b99debd49805ff068a615e47d9aa762 (diff) | |
download | gitlab-ce-2ed06dc41dbb5936af845b87d79e05bbf24c73b8.tar.gz |
Fix group_icon spec
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/application_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index c58c83a2970..c285a9360bb 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -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 |