Commit 48367cc24d48afec69a300c08d178ba2b7f740ac
1 parent
4c1d9082
Exists in
master
and in
1 other branch
Cleanup problems_helper_spec
Showing
1 changed file
with
0 additions
and
3 deletions
Show diff stats
spec/helpers/problems_helper_spec.rb
@@ -62,10 +62,7 @@ describe ProblemsHelper do | @@ -62,10 +62,7 @@ describe ProblemsHelper do | ||
62 | let(:email_hash) { Digest::MD5.hexdigest email } | 62 | let(:email_hash) { Digest::MD5.hexdigest email } |
63 | 63 | ||
64 | it "should return the http url" do | 64 | it "should return the http url" do |
65 | - # request.env['HTTPS'] = 'on' | ||
66 | ActionController::TestRequest.any_instance.stub ssl?: true | 65 | ActionController::TestRequest.any_instance.stub ssl?: true |
67 | - | ||
68 | - | ||
69 | helper.gravatar_url(email).should eq("https://secure.gravatar.com/avatar/#{email_hash}?d=identicon") | 66 | helper.gravatar_url(email).should eq("https://secure.gravatar.com/avatar/#{email_hash}?d=identicon") |
70 | end | 67 | end |
71 | end | 68 | end |