mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Add some tests in invoices
This commit is contained in:
parent
a5f8e277dd
commit
e15746c617
5 changed files with 87 additions and 9 deletions
42
test/integration/admin_area/repp_logs_test.rb
Normal file
42
test/integration/admin_area/repp_logs_test.rb
Normal file
|
@ -0,0 +1,42 @@
|
|||
require 'test_helper'
|
||||
require 'application_system_test_case'
|
||||
|
||||
class AdminAreaReppLogsIntegrationTest < JavaScriptApplicationSystemTestCase
|
||||
|
||||
setup do
|
||||
WebMock.allow_net_connect!
|
||||
sign_in users(:admin)
|
||||
|
||||
@logs = ApiLog::ReppLog
|
||||
end
|
||||
|
||||
# TODO
|
||||
|
||||
# Helpers ================================================
|
||||
|
||||
# def clear_repp_logs
|
||||
# @logs.delete_all
|
||||
# end
|
||||
|
||||
# def visit_and_add_some_repp_log
|
||||
# # clear_repp_logs
|
||||
|
||||
# visit admin_repp_logs_path
|
||||
# assert_text 'REPP log'
|
||||
|
||||
# get repp_v1_contacts_path
|
||||
|
||||
# visit admin_repp_logs_path
|
||||
# assert_text 'REPP log'
|
||||
|
||||
# find(:xpath, "//table/tbody/tr/td/a", match: :first).click
|
||||
# end
|
||||
|
||||
# # Tests ==================================================
|
||||
|
||||
# def test_visit_repp_logs
|
||||
# visit_and_add_some_repp_log
|
||||
# # p find(:xpath, "//table").native.attribute('outerHTML')
|
||||
# end
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue