Set Rails.configuration.webserver_is_active in test block.

This commit is contained in:
Martin Edenhofer 2016-02-22 09:51:56 +01:00
parent 6411a34a0f
commit 0dd0288cb0

View file

@ -30,10 +30,10 @@ class OnlineNotificationTest < ActiveSupport::TestCase
) )
customer_user = User.lookup(email: 'nicole.braun@zammad.org') customer_user = User.lookup(email: 'nicole.braun@zammad.org')
Rails.configuration.webserver_is_active = true
test 'ticket notification' do test 'ticket notification' do
Rails.configuration.webserver_is_active = true
# case #1 # case #1
ticket1 = Ticket.create( ticket1 = Ticket.create(
group_id: Group.lookup(name: 'Users').id, group_id: Group.lookup(name: 'Users').id,