Skip to content

Commit

Permalink
Expand isEnabledTest
Browse files Browse the repository at this point in the history
  • Loading branch information
peterlvilim committed Dec 13, 2014
1 parent 6317f9a commit 95a0d47
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@ public void checkPresentWithoutEkstaziMavenPluginTest() throws IOException, Ekst

@Test
public void isEnabledTest() {
String pomFile = projectDir + "/pom.xml";
String tempPomFile = projectDir + "/temp-pom.xml";

FileUtils.copyFile(new File(pomFile), new File(tempPomFile));
EkstaziMavenManager manager = new EkstaziMavenManager(new FilePath(new File(tempPomFile)), EKSTAZI_VERSION);
Assert.assertTrue(manager.isEnabled());
FileUtils.fileDelete(tempPomFile);
}

@Test
Expand Down

0 comments on commit 95a0d47

Please sign in to comment.