@@ -0,0 +1,15 @@  | 
            ||
| 1 | 
                +require 'spec_helper'  | 
            |
| 2 | 
                +  | 
            |
| 3 | 
                +describe LiquidInterpolatable::Filters do  | 
            |
| 4 | 
                + before do  | 
            |
| 5 | 
                + @filter = Class.new do  | 
            |
| 6 | 
                + include LiquidInterpolatable::Filters  | 
            |
| 7 | 
                + end.new  | 
            |
| 8 | 
                + end  | 
            |
| 9 | 
                +  | 
            |
| 10 | 
                + describe 'uri_escape' do  | 
            |
| 11 | 
                + it 'should escape a string for use in URI' do  | 
            |
| 12 | 
                +      @filter.uri_escape('abc:/?=').should == 'abc%3A%2F%3F%3D'
               | 
            |
| 13 | 
                + end  | 
            |
| 14 | 
                + end  | 
            |
| 15 | 
                +end  |