Fix contact creator link

This commit is contained in:
Alex Sherman 2021-05-18 13:38:51 +05:00
parent df0fd3dadf
commit 96b59bfb4c
4 changed files with 23 additions and 3 deletions

View 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