Fixed unit test. Closes digitalnoise/ripme#2
This commit is contained in:
parent
db154c48b1
commit
278560e03e
@ -3,17 +3,17 @@ package com.rarchives.ripme.tst.ripper.rippers;
|
||||
import java.io.IOException;
|
||||
import java.net.URL;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.Tubex6Ripper;
|
||||
import com.rarchives.ripme.ripper.rippers.RulePornRipper;
|
||||
|
||||
public class RulePornRipperTest extends RippersTest {
|
||||
public void testRip() throws IOException {
|
||||
Tubex6Ripper ripper = new Tubex6Ripper(new URL("https://ruleporn.com/are-you-going-to-fill-my-lil-pussy-up/"));
|
||||
RulePornRipper ripper = new RulePornRipper(new URL("https://ruleporn.com/are-you-going-to-fill-my-lil-pussy-up/"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
public void testGetGID() throws IOException {
|
||||
URL url = new URL("https://ruleporn.com/are-you-going-to-fill-my-lil-pussy-up/");
|
||||
Tubex6Ripper ripper = new Tubex6Ripper(url);
|
||||
RulePornRipper ripper = new RulePornRipper(url);
|
||||
assertEquals("are-you-going-to-fill-my-lil-pussy-up", ripper.getGID(url));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user