Check order of generation and use of host-meta fixture on travis
This commit is contained in:
parent
2518987538
commit
4db288bc65
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue