mirror of
https://github.com/diaspora/diaspora.git
synced 2026-04-29 03:01:03 -04:00
18 lines
561 B
Ruby
18 lines
561 B
Ruby
require File.dirname(__FILE__) + '/../spec_helper'
|
|
|
|
describe RequestsController do
|
|
describe "profile" do
|
|
it 'should fetch the public webfinger profile on request' do
|
|
pending "Duplicate test"
|
|
#post :create {:request => {:destination_url => 'tom@tom.joindiaspora.com'}
|
|
|
|
url = RequestsController.diaspora_url('http://tom.joindiaspora.com/')
|
|
url.should == 'http://tom.joindiaspora.com/'
|
|
|
|
|
|
url = RequestsController.diaspora_url('tom@tom.joindiaspora.com')
|
|
url.should == 'http://tom.joindiaspora.com/'
|
|
end
|
|
end
|
|
end
|