Project

General

Profile

Feature #10485 » tests_for_context_menu_in_gantts.patch

Marius BĂLTEANU, 2017-11-27 01:15

View differences:

test/functional/gantts_controller_test.rb
47 47
      end
48 48
    end
49 49

  
50
    # Assert context menu on issues subject and gantt bar
51
    assert_select 'div[class=?]', 'issue-subject hascontextmenu'
52
    assert_select 'div[class=?]', 'tooltip hascontextmenu'
53
    assert_select "form[data-cm-url=?]", '/issues/context_menu'
54

  
50 55
    # Issue with start and due dates
51 56
    i = Issue.find(1)
52 57
    assert_not_nil i.due_date
(6-6/6)