fixed a couple of specs

This commit is contained in:
Jonne Hass 2011-12-11 01:49:32 +01:00
parent dac3796336
commit 57661fe9dd
3 changed files with 2 additions and 3 deletions

View file

@ -101,8 +101,6 @@ class AuthorizationsController < ApplicationController
redirect_to authorizations_path redirect_to authorizations_path
end end
private
# @param [String] enc_signed_string A Base64 encoded string with app_url;pod_url;time;nonce # @param [String] enc_signed_string A Base64 encoded string with app_url;pod_url;time;nonce
# @param [String] sig A Base64 encoded signature of the decoded signed_string with public_key. # @param [String] sig A Base64 encoded signature of the decoded signed_string with public_key.
# @param [OpenSSL::PKey::RSA] public_key The application's public key to verify sig with. # @param [OpenSSL::PKey::RSA] public_key The application's public key to verify sig with.

View file

@ -0,0 +1 @@
require 'will_paginate/array'

View file

@ -347,7 +347,7 @@ describe PeopleController do
contact = alice.contact_for(bob.person) contact = alice.contact_for(bob.person)
contacts = contact.contacts contacts = contact.contacts
get :contacts, :person_id => bob.person.id get :contacts, :person_id => bob.person.id
assigns(:contacts_of_contact).should == contacts assigns(:contacts_of_contact).should =~ contacts
response.should be_success response.should be_success
end end