fix RubyBundlerAnalyzer.accept

This commit is contained in:
bjiang
2016-05-06 17:55:21 -04:00
parent 83f83d4eee
commit d5e8f54214
2 changed files with 13 additions and 2 deletions

View File

@@ -78,7 +78,8 @@ public class RubyBundlerAnalyzerTest extends BaseTest {
*/
@Test
public void testSupportsFiles() {
assertThat(analyzer.accept(new File("test.gemspec")), is(true));
assertThat(analyzer.accept(new File("test.gemspec")), is(false));
assertThat(analyzer.accept(new File("specifications" + File.separator + "test.gemspec")), is(true));
}
/**