Improve testing setup

This commit is contained in:
Brandon Robins
2018-03-11 16:38:50 -05:00
parent 19290d3832
commit 2ce668b9ea
9 changed files with 163 additions and 76 deletions

View File

@@ -113,5 +113,15 @@ RSpec.describe 'calligraphy_resource', type: :routing do
)
end
end
context 'for HEAD requests' do
it do
expect(head: '/test/twelve').to route_to(
controller: 'calligraphy/rails/web_dav_requests',
action: 'invoke_method',
resource: 'twelve'
)
end
end
end
end