Fix syntax error

This commit is contained in:
Artur Beljajev 2019-03-26 10:41:57 +02:00
parent 7789ccff6f
commit 2a57fb832d
3 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,13 @@
require 'test_helper'
class AdminAreaInvoicesIntegrationTest < ApplicationIntegrationTest
setup do
@invoice = invoices(:one)
sign_in users(:admin)
end
def test_download_invoice_pdf
get admin_invoice_download_pdf_path(@invoice)
assert_response :ok
end
end