Sha256: 8d168316d78d497959ef201c9f83c8478a7c8cdc9e0b7e6c016aa629603f5f7b

Contents?: true

Size: 494 Bytes

Versions: 16

Compression:

Stored size: 494 Bytes

Contents

class Views::ComplexHelpersSystemSpec::CacheTagsTest < Fortitude::Widgets::Html5
  needs :a, :b

  format_output true

  def content
    p(:class => 'before_cache') do
      span "before_cache: a=#{a},b=#{b}"

      cache("cache_tags_test-#{a}") do
        p(:class => "in_cache") do
          span "in_cache: a=#{a},b=#{b}"
        end
      end

      span("after_cache: a=#{a},b=#{b}")
    end

    p(:class => "after_cache_2") do
      span "after_cache_2: a=#{a},b=#{b}"
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.6 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.5-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.5 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.4-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.4 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.3-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.3 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.2-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.2 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.1-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.1 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.0-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.9.0 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.0.10-java spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb
fortitude-0.0.10 spec/rails/templates/complex_helpers_system_spec/app/views/complex_helpers_system_spec/cache_tags_test.rb