Fix spec in authorizations_controller, get rid of pp

This commit is contained in:
Raphael Sofaer 2011-06-28 14:37:55 -07:00
parent b14271342a
commit 7fd9b81e55
2 changed files with 2 additions and 3 deletions

View file

@ -178,7 +178,8 @@ describe AuthorizationsController do
end
it 'checks consistency of app_url' do
@controller.verify(@signed_string, @sig, @public_key, @manifest.merge({"application_base_url" => "http://badsite.com/"})).should == "the app url in the manifest does not match the url passed in the parameters"
@controller.verify(@signed_string, @sig, @public_key, @manifest.merge({"application_base_url" => "http://badsite.com/"})).
should == "the app url in the manifest (http://badsite.com/) does not match the url passed in the parameters (http://chubbi.es/)."
end
it 'checks key size' do

View file

@ -80,8 +80,6 @@ describe Webfinger do
# http://tom.joindiaspora.com/.well-known/host-meta
f = Webfinger.new("alice@#{host_with_port}").fetch
f.valid?
pp f.errors.full_messages
f.should be_valid
end