Sha256: 9df2d8c5600fd526b265a7047672aa056a0c3d77de9cbdb33e2ef7be5055805f
Contents?: true
Size: 796 Bytes
Versions: 31
Compression:
Stored size: 796 Bytes
Contents
Feature: Lint proxy pac As a proxy administrator I want to compress a proxy pac In order to save some bandwidth Scenario: Valid proxy.pac Given a file named "proxy.pac" with: """ function FindProxyForURL(url, host) { return 'PROXY localhost:3128'; } """ When I successfully run `pprb lint pac_file -p proxy.pac` Then the output should contain: """ proxy.pac "proxy.pac" is of type file and is valid """ Scenario: Invalid proxy.pac Given a file named "proxy.pac" with: """ function FindProxyForURL(url, host) { return $"ยง$ 'PROXY localhost:3128'; } """ When I run `pprb lint pac_file -p proxy.pac` Then the output should contain: """ proxy.pac "proxy.pac" is of type file and is invalid """
Version data entries
31 entries across 31 versions & 1 rubygems