Commit 6940384c862d5b096923bdc10aa2d6672a43a7ac

Authored by Jeroen Jacobs
1 parent 48367cc2
Exists in master and in 1 other branch production

Makes avatar url tests in problem_helper_spec compatible with ruby 1.8

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/helpers/problems_helper_spec.rb
... ... @@ -62,7 +62,7 @@ describe ProblemsHelper do
62 62 let(:email_hash) { Digest::MD5.hexdigest email }
63 63  
64 64 it "should return the http url" do
65   - ActionController::TestRequest.any_instance.stub ssl?: true
  65 + ActionController::TestRequest.any_instance.stub :ssl? => true
66 66 helper.gravatar_url(email).should eq("https://secure.gravatar.com/avatar/#{email_hash}?d=identicon")
67 67 end
68 68 end
... ...