removed redundant empty lines
@@ -6,7 +6,6 @@ class DefaultCommitApproverTest extends Specification {
def "should approve commit with sample message"() {
def approver = new DefaultCommitApprover()
-
def commit = new GitCommit("sampleId", "sample@email.com", "sampleAuthor", "sample commit message")
when:
@@ -18,7 +17,6 @@ class DefaultCommitApproverTest extends Specification {
def "should decline commit with [ci skip] text in message"() {
def approver = new DefaultCommitApprover()
-
def commit = new GitCommit("sampleId", "sample@email.com", "sampleAuthor", "commit [ci skip] message")
when:
@@ -31,7 +29,6 @@ class DefaultCommitApproverTest extends Specification {
def "should decline commit with defined postfix in message"() {
def samplePostfix = "samplePostfix"
def approver = new DefaultCommitApprover(samplePostfix)
-
def commit = new GitCommit("sampleId", "sample@email.com", "sampleAuthor", "commit message" + samplePostfix)
when:
@@ -44,7 +41,6 @@ class DefaultCommitApproverTest extends Specification {
def "should approve commit if configured postfix message is not at the end of commit message"() {
def samplePostfix = "samplePostfix"
def approver = new DefaultCommitApprover(samplePostfix)
-
def commit = new GitCommit("sampleId", "sample@email.com", "sampleAuthor", "commit " + samplePostfix + " message")
when:
