mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Increase test coverage for bank statements
This commit is contained in:
parent
b5668ea494
commit
2d1402f6bf
1 changed files with 15 additions and 0 deletions
15
test/system/admin_area/bank_statement_test.rb
Normal file
15
test/system/admin_area/bank_statement_test.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'application_system_test_case'
|
||||
|
||||
class AdminAreaBankStatementTest < ApplicationSystemTestCase
|
||||
setup do
|
||||
sign_in users(:admin)
|
||||
travel_to Time.zone.parse('2010-07-05 00:30:00')
|
||||
end
|
||||
|
||||
def test_can_create_statement_manually
|
||||
visit admin_bank_statements_path
|
||||
click_link_or_button 'Add'
|
||||
click_link_or_button 'Save'
|
||||
assert_text 'Record created'
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue