Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Fix failing test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdvolder committed Jul 3, 2012
1 parent 5c78113 commit 8379550
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -59,7 +59,11 @@ public void testCreateDomainClass() throws Exception {
public void testRefreshDependencyFile() throws Exception {
project = ensureProject("bork");
GrailsCommand cmd = GrailsCommandFactory.refreshDependencyFile(project);
assertEquals("compile --non-interactive", cmd.getCommand());
String expect = "compile --non-interactive";
if (GrailsVersion.MOST_RECENT.compareTo(GrailsVersion.V_2_0_0) >= 0) {
expect = expect + " --refresh-dependencies";
}
assertEquals(expect, cmd.getCommand());
}

public void testDownloadSourceJars() throws Exception {
Expand Down

0 comments on commit 8379550

Please sign in to comment.