@@ -27,7 +27,7 @@ public void testCronJobInstanceMustHaveCompletion() {
2727 */
2828 public void testNotCrontabXmlMustHaveNotCompletion () {
2929 final String filePath = this .getFixturePath (WRONG_FILE_NAME );
30- assertCompletionNotShowing (filePath );
30+ assertFileNotContainsCompletions (filePath , EXPECTED_INSTANCE );
3131 }
3232
3333 /**
@@ -36,7 +36,7 @@ public void testNotCrontabXmlMustHaveNotCompletion() {
3636 */
3737 public void testNotInstanceAttrMustHaveNotCompletion () {
3838 final String filePath = this .getFixturePath (CrontabXmlTemplate .FILE_NAME );
39- assertCompletionNotShowing (filePath );
39+ assertFileNotContainsCompletions (filePath , EXPECTED_INSTANCE );
4040 }
4141
4242 /**
@@ -45,7 +45,7 @@ public void testNotInstanceAttrMustHaveNotCompletion() {
4545 */
4646 public void testNotJobTagMustHaveNotCompletion () {
4747 final String filePath = this .getFixturePath (CrontabXmlTemplate .FILE_NAME );
48- assertCompletionNotShowing (filePath );
48+ assertFileNotContainsCompletions (filePath , EXPECTED_INSTANCE );
4949 }
5050
5151 /**
@@ -63,6 +63,6 @@ public void testCronJobMethodMustHaveCompletion() {
6363 */
6464 public void testNotCrontabXmlMethodMustHaveNotCompletion () {
6565 final String filePath = this .getFixturePath (WRONG_FILE_NAME );
66- assertCompletionNotShowing (filePath );
66+ assertFileNotContainsCompletions (filePath , EXPECTED_METHOD );
6767 }
6868}
0 commit comments