test/dummy/test/integration/fastly_headers_test.rb in fastly-rails-0.1.4 vs test/dummy/test/integration/fastly_headers_test.rb in fastly-rails-0.1.5
- old
+ new
@@ -65,15 +65,13 @@
assert response.headers.key?('Cache-Control')
assert_equal 'no-cache', response.headers['Cache-Control']
assert !response.headers.key?('Surrogate-Control')
-
end
test 'DELETE /books/:id should not have fastly headers/ fastly header values' do
-
create :book, :id => 1
delete '/books/1'
assert Book.where(:id => 1).empty?
@@ -82,10 +80,7 @@
assert response.headers.key?('Cache-Control')
assert_equal 'no-cache', response.headers['Cache-Control']
assert !response.headers.key?('Surrogate-Control')
-
end
-
end
-