Skip to content
  • Neeraj Singh's avatar
    7fff2f9f
    Make test meaningful · 7fff2f9f
    Neeraj Singh authored
    If before_filter list was being called mistakenly then
    the test should fail. However test will not fail because
    second filter is assigning new values to @list. To truly
    test that first before_filter is not called when it should
    not be called then @list should not assigned value unconditionally.
    
    This patch will make the test fail if first filter is called.
    7fff2f9f
    Make test meaningful
    Neeraj Singh authored
    If before_filter list was being called mistakenly then
    the test should fail. However test will not fail because
    second filter is assigning new values to @list. To truly
    test that first before_filter is not called when it should
    not be called then @list should not assigned value unconditionally.
    
    This patch will make the test fail if first filter is called.
Loading