Applied new pre_condition.

This commit is contained in:
Martin Edenhofer 2016-04-14 10:08:08 +02:00
parent 4731cfb16d
commit 9469409cde

View file

@ -772,7 +772,7 @@ class TicketSelectorTest < ActiveSupport::TestCase
}, },
'ticket.owner_id' => { 'ticket.owner_id' => {
operator: 'is', operator: 'is',
pre_condition: 'set', pre_condition: 'not_set',
}, },
} }
ticket_count, tickets = Ticket.selectors(condition, 10, agent1) ticket_count, tickets = Ticket.selectors(condition, 10, agent1)
@ -794,7 +794,7 @@ class TicketSelectorTest < ActiveSupport::TestCase
}, },
'ticket.owner_id' => { 'ticket.owner_id' => {
operator: 'is not', operator: 'is not',
pre_condition: 'set', pre_condition: 'not_set',
}, },
} }
ticket_count, tickets = Ticket.selectors(condition, 10, agent1) ticket_count, tickets = Ticket.selectors(condition, 10, agent1)