Sha256: 0481c9d3da26ff7fcb9e4b92ac717ef1c9f1252f4f0279141aa0abc7f9f433ff

Contents?: true

Size: 325 Bytes

Versions: 17

Compression:

Stored size: 325 Bytes

Contents

require 'spec/helper'
spec_require 'haml'
require 'examples/misc/css'

describe 'CSSController' do
  behaves_like 'http'
  ramaze

  def req(path) r = get(path); [r.content_type, r.body] end

  it 'should cache generated css' do
    lambda{ req('/css/style.css') }.
      should.not.change{ req('/css/style.css') }
  end
end

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
Pistos-ramaze-2008.09 spec/examples/css.rb
Pistos-ramaze-2008.12 spec/examples/css.rb
Pistos-ramaze-2009.01 spec/examples/css.rb
Pistos-ramaze-2009.02 spec/examples/css.rb
manveru-ramaze-2008.07 spec/examples/css.rb
manveru-ramaze-2008.08 spec/examples/css.rb
manveru-ramaze-2008.09 spec/examples/css.rb
manveru-ramaze-2008.10 spec/examples/css.rb
manveru-ramaze-2008.12 spec/examples/css.rb
manveru-ramaze-2009.01 spec/examples/css.rb
ptomato-ramaze-2009.02.1 spec/examples/css.rb
ptomato-ramaze-2009.02 spec/examples/css.rb
ramaze-2008.06 spec/examples/css.rb
ramaze-2009.01 spec/examples/css.rb
ramaze-2008.11 spec/examples/css.rb
ramaze-2009.03 spec/examples/css.rb
ramaze-2009.02 spec/examples/css.rb