mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Fix contact creator link
This commit is contained in:
parent
df0fd3dadf
commit
96b59bfb4c
4 changed files with 23 additions and 3 deletions
14
test/helpers/application_helper_test.rb
Normal file
14
test/helpers/application_helper_test.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'test_helper'
|
||||
|
||||
class ApplicationHelperTest < ActionView::TestCase
|
||||
def test_creator_link
|
||||
model = contacts(:william)
|
||||
assert_nothing_raised do
|
||||
ApplicationController.helpers.creator_link(model)
|
||||
end
|
||||
|
||||
assert_nothing_raised do
|
||||
ApplicationController.helpers.updator_link(model)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue