We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838ac85 commit 15ebd55Copy full SHA for 15ebd55
test/integration/list_invoices_test.rb
@@ -18,6 +18,16 @@ class ListInvoicesTest < ActionDispatch::IntegrationTest
18
end
19
20
21
+ test 'list invoices as employee which is order responsible for another order has no create/edit/destroy links' do
22
+ timeout_safe do
23
+ list_invoices_as :lucien
24
+
25
+ assert has_no_link?('Erstellen')
26
+ assert has_no_link?('Bearbeiten')
27
+ assert has_no_link?('Löschen')
28
+ end
29
30
31
test 'list invoices as order responsible member has create/edit/destroy links' do
32
timeout_safe do
33
list_invoices_as :long_time_john
0 commit comments