Sha256: 5d38e600ccecd3c5ecda8fb99d841d5b3f6648ced880ca4f2d339d5001da413d
Contents?: true
Size: 290 Bytes
Versions: 46
Compression:
Stored size: 290 Bytes
Contents
it "returns a rejected promise if the selector can't be found on the current page", (done) -> html = '<div class="foo-bar">text</div>' up.extract('.foo-bar', html).fail (error) -> expect(error).toEqual(/Could not find selector ".foo-bar"/i) done()
Version data entries
46 entries across 46 versions & 1 rubygems