mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Fix syntax error
This commit is contained in:
parent
7789ccff6f
commit
2a57fb832d
3 changed files with 27 additions and 1 deletions
13
test/integration/admin_area/invoices_test.rb
Normal file
13
test/integration/admin_area/invoices_test.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue