Sha256: 61cc61e2ffb46c4493494af06f69d58ace085eec3f86f502889f19a85671cbd7
Contents?: true
Size: 624 Bytes
Versions: 11
Compression:
Stored size: 624 Bytes
Contents
require 'spec_helper' describe name_from_filename do include_examples 'path_extractor' def results [ 'http://test.com', 'test', 'test.com', '/test/stuff2.php' ] end def text s = <<SCRIPT <script> /*Blah.1*/ //Blah.2 var path = "/test/stuff2.php" var ignore = "test/stuff2" </script> SCRIPT s + [ 'http://test.com', 'test', 'test.com' ].map { |u| "<script src='#{u}'>Stuff</script>" }.join end easy_test end
Version data entries
11 entries across 11 versions & 1 rubygems