[Rt-commit] rt branch, master, updated. rt-4.1.8-261-gabfda12

Alex Vandiver alexmv at bestpractical.com
Tue May 7 14:31:39 EDT 2013


The branch, master has been updated
       via  abfda12bd121a03338335e530389b33f8f8632bb (commit)
      from  0c5918f44e1a8bfe6bb7e519a81bc91909d4bc64 (commit)

Summary of changes:
 t/web/helpers-http-cache-headers.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit abfda12bd121a03338335e530389b33f8f8632bb
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue May 7 13:37:29 2013 -0400

    Switch from print.css to testing the squished CSS
    
    print.css is now served from under /static/ and as such the test fails.
    Switch to checking the squished CSS, instead -- requesting
    NoAuth/css/themename/squished-anything.css is valid as long as
    "anything" is a possibly valid SHA.  In this case, simply provide an
    all-zeros SHA.

diff --git a/t/web/helpers-http-cache-headers.t b/t/web/helpers-http-cache-headers.t
index d4d201d..2bf9f96 100644
--- a/t/web/helpers-http-cache-headers.t
+++ b/t/web/helpers-http-cache-headers.t
@@ -24,7 +24,7 @@ ok $m->login, 'logged in';
 my $docroot = join '/', qw(share html);
 
 # find endpoints to loop over
-my @endpoints = ('/NoAuth/css/print.css');
+my @endpoints = ("/NoAuth/css/aileron/squished-".("0"x32).".css");
 find({
   wanted => sub {
     if ( -f $_ && $_ !~ m|autohandler$| ) {

-----------------------------------------------------------------------


More information about the Rt-commit mailing list