Skip to content
This repository
Browse code

Fixed tests for ruby 1.9.3

  • Loading branch information...
commit 74babd8d6979982dc42a11fdc4a1aa307a9289e5 1 parent eb22cf0
Alex Zinchenko yumitsu authored

Showing 2 changed files with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 1  Gemfile
  2. +1 1  test/models/user_test.rb
3  Gemfile
@@ -47,10 +47,11 @@ group :development, :test do
47 47 gem "show_me_the_cookies"
48 48 gem "rocco", :git => "git://github.com/rtomayko/rocco.git"
49 49 gem "pygmentize"
50   - gem "mocha"
  50 + gem "mocha", "~> 0.11.0"
51 51 gem "vcr"
52 52 gem "simplecov", "~> 0.4.0", :require => false
53 53 gem "launchy"
  54 + gem "minitest", "~> 2.12.1"
54 55 end
55 56
56 57 group :test do
2  test/models/user_test.rb
@@ -7,7 +7,7 @@
7 7 include TestHelper
8 8
9 9 def stub_superfeedr_request_for_user(user)
10   - user_feed_url = CGI.escape(user.feed.url(true)).downcase
  10 + user_feed_url = CGI.escape(user.feed.url(true))
11 11
12 12 stub_request(:post, "http://rstatus.superfeedr.com/").
13 13 with(:body => "hub.mode=publish&hub.url=#{user_feed_url}",

0 comments on commit 74babd8

Please sign in to comment.
Something went wrong with that request. Please try again.