Set DAV compliance at the Resource

This commit is contained in:
Brandon Robins
2017-12-26 15:48:46 -05:00
parent d8a7dd183a
commit 109bfd0528
3 changed files with 16 additions and 1 deletions

View File

@@ -29,5 +29,12 @@ RSpec.describe 'Resource' do
end
end
end
describe '#dav_compliance' do
it 'advertises full WebDAV compliance' do
resource = Calligraphy::Resource.new
expect(resource.dav_compliance).to eq('1, 2, 3')
end
end
end
end