diff --git a/spec/controllers/authorizations_controller_spec.rb b/spec/controllers/authorizations_controller_spec.rb index 7ce33729b..0c29ac97d 100644 --- a/spec/controllers/authorizations_controller_spec.rb +++ b/spec/controllers/authorizations_controller_spec.rb @@ -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 diff --git a/spec/lib/webfinger_spec.rb b/spec/lib/webfinger_spec.rb index d9d579033..18985c42e 100644 --- a/spec/lib/webfinger_spec.rb +++ b/spec/lib/webfinger_spec.rb @@ -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