Skip to content
Snippets Groups Projects
Commit c1731d95 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

menu

parent c51c4a59
No related branches found
No related tags found
No related merge requests found
primary_menu:
university: default_university
website: website_with_github
title: 'Menu principal'
language: fr
\ No newline at end of file
......@@ -64,8 +64,7 @@ class Communication::Website::DependencyTest < ActiveSupport::TestCase
end
def test_change_menu_item_dependencies
website_with_github.save
menu = website_with_github.menus.first
menu = communication_website_menus(:primary_menu)
item = menu.items.create(university: default_university, website: website_with_github, kind: :blank, title: 'Test')
assert_equal 2, item.recursive_dependencies.count
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment