test/lazylead/task/assignment_test.rb in lazylead-0.12.0 vs test/lazylead/task/assignment_test.rb in lazylead-0.13.0

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true # The MIT License # -# Copyright (c) 2019-2021 Yurii Dubinka +# Copyright (c) 2019-2022 Yurii Dubinka # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify, merge, publish, distribute, sublicense, @@ -33,22 +33,22 @@ module Lazylead class AssignmentTest < Lazylead::Test test "alert in case assignee changed by not authorized person" do Lazylead::Smtp.new.enable Task::Assignment.new.run( - NoAuthJira.new("https://jira.spring.io"), + NoAuthJira.new("https://jira.mongodb.org"), Postman.new, Opts.new( "to" => "lead@company.com", "from" => "ll@company.com", - "jql" => "key in ('DATAJDBC-480') and assignee is not empty", + "jql" => "key=JAVA-4190", "allowed" => "tom,mike,bob", "subject" => "Assignment: How dare you?", "template" => "lib/messages/illegal_assignee_change.erb" ) ) assert_email "Assignment: How dare you?", - "DATAJDBC-480", "01-Apr", "Minor", "Mark Paluch", "tom,mike,bob", - "EntityInstantiators" + "JAVA-4190", "Jeffrey Yemin", "Valentin Kavalenka", + "Client side builder for operators supported by $search", "Nihal Jain" end end end