From 651fa7951aebf71352023f7d092263aac4b17313 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Thu, 21 May 2015 16:53:44 +0200 Subject: [PATCH] Applied rubocop. --- test/unit/ticket_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/ticket_test.rb b/test/unit/ticket_test.rb index 63077beeb..926fe111f 100644 --- a/test/unit/ticket_test.rb +++ b/test/unit/ticket_test.rb @@ -165,7 +165,7 @@ class TicketTest < ActiveSupport::TestCase test 'ticket process_pending' do ticket = Ticket.create( - title: "pending close test", + title: 'pending close test', group: Group.lookup( name: 'Users'), customer_id: 2, state: Ticket::State.lookup( name: 'pending close' ), @@ -179,7 +179,7 @@ class TicketTest < ActiveSupport::TestCase assert_equal( lookup_ticket.id, ticket.id, 'ticket.pending_time verify' ) - Ticket.process_pending() + Ticket.process_pending lookup_ticket = Ticket.find_by( 'pending_time <= ?', Time.zone.now )