summaryrefslogtreecommitdiff
path: root/spec/helpers/application_helper_spec.rb
diff options
context:
space:
mode:
authorMarvin Frick <marvin.frick@sinnerschrader.com>2014-05-09 14:26:19 +0200
committerMarvin Frick <marvin.frick@sinnerschrader.com>2014-06-10 22:28:11 +0200
commit587502390b3afa423a10f98f7568a26352cb0976 (patch)
tree6fd12d8cf17e6692733942618f78874f0c6913ba /spec/helpers/application_helper_spec.rb
parent1f5891e99183f1b20ced08d75dd44c9a01c48094 (diff)
downloadgitlab-ce-587502390b3afa423a10f98f7568a26352cb0976.tar.gz
fixes gitlab.com issue #229
Changes .js.coffe files to not use a hardcoded path to `no_avatar.png` but instead stick with the asset pipeline. renames coffee.erb back to coffee
Diffstat (limited to 'spec/helpers/application_helper_spec.rb')
-rw-r--r--spec/helpers/application_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index 10c5617d245..6401ec0710a 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -79,11 +79,11 @@ describe ApplicationHelper do
it "should return a generic avatar path when Gravatar is disabled" do
Gitlab.config.gravatar.stub(:enabled).and_return(false)
- gravatar_icon(user_email).should == '/assets/no_avatar.png'
+ gravatar_icon(user_email).should match('no_avatar.png')
end
it "should return a generic avatar path when email is blank" do
- gravatar_icon('').should == '/assets/no_avatar.png'
+ gravatar_icon('').should match('no_avatar.png')
end
it "should return default gravatar url" do