Skip to content
Extraits de code Groupes Projets
Valider 4db288bc rédigé par Sarah Mei's avatar Sarah Mei
Parcourir les fichiers

Check order of generation and use of host-meta fixture on travis

parent 25189875
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -16,6 +16,7 @@ describe PublicsController do ...@@ -16,6 +16,7 @@ describe PublicsController do
get :host_meta get :host_meta
response.should be_success response.should be_success
response.body.should =~ /webfinger/ response.body.should =~ /webfinger/
puts "Saving host-meta fixture to #{fixture_path}"
save_fixture(response.body, "host-meta", fixture_path) save_fixture(response.body, "host-meta", fixture_path)
end end
end end
......
...@@ -17,7 +17,7 @@ describe Webfinger do ...@@ -17,7 +17,7 @@ describe Webfinger do
let(:good_request) { FakeHttpRequest.new(:success)} let(:good_request) { FakeHttpRequest.new(:success)}
let(:diaspora_xrd) {File.open(File.join(Rails.root, 'spec', 'fixtures', 'host-meta.fixture.html')).read} let(:diaspora_xrd) {puts "requiring host-meta"; File.open(File.join(Rails.root, 'spec', 'fixtures', 'host-meta.fixture.html')).read}
let(:diaspora_finger) {File.open(File.join(Rails.root, 'spec', 'fixtures', 'webfinger.fixture.html')).read} let(:diaspora_finger) {File.open(File.join(Rails.root, 'spec', 'fixtures', 'webfinger.fixture.html')).read}
let(:hcard_xml) {File.open(File.join(Rails.root, 'spec', 'fixtures', 'hcard.fixture.html')).read} let(:hcard_xml) {File.open(File.join(Rails.root, 'spec', 'fixtures', 'hcard.fixture.html')).read}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter