diff --git a/spec/controllers/publics_controller_spec.rb b/spec/controllers/publics_controller_spec.rb index 91effa84c..903fb9162 100644 --- a/spec/controllers/publics_controller_spec.rb +++ b/spec/controllers/publics_controller_spec.rb @@ -16,6 +16,7 @@ describe PublicsController do get :host_meta response.should be_success response.body.should =~ /webfinger/ + puts "Saving host-meta fixture to #{fixture_path}" save_fixture(response.body, "host-meta", fixture_path) end end diff --git a/spec/lib/webfinger_spec.rb b/spec/lib/webfinger_spec.rb index 3da58eb1b..0e7de2cd6 100644 --- a/spec/lib/webfinger_spec.rb +++ b/spec/lib/webfinger_spec.rb @@ -17,7 +17,7 @@ describe Webfinger do 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(:hcard_xml) {File.open(File.join(Rails.root, 'spec', 'fixtures', 'hcard.fixture.html')).read}