Newer
Older
# licensed under the Affero General Public License version 3. See
# the COPYRIGHT file.
Daniel Vincent Grippi
a validé
include ApplicationHelper
include RequestsHelper
Raphael
a validé
render_views
Raphael
a validé
@user = Factory.create :user
@tom = Redfinger.finger('tom@tom.joindiaspora.com')
Raphael
a validé
sign_in :user, @user
stub!(:current_user).and_return @user
Raphael
a validé
end
it 'should return the correct tag and url for a given address' do
relationship_flow('tom@tom.joindiaspora.com')[:friend].receive_url.include?("receive/user").should == true