Sha256: 27b4579b9c9b819fb0627c6276726869c2cb81bab15f99e68e00b44a228ce4aa

Contents?: true

Size: 628 Bytes

Versions: 29

Compression:

Stored size: 628 Bytes

Contents

describe "Rails default layout support", :type => :rails do
  uses_rails_with_template :default_layout_system_spec

  it "should let you use a default layout that's a widget, and render ERb inside it" do
    data = get("erb_with_widget_default_layout")
    data.should match(/widget_default_layout/i)
    data.should match(/erb_with_widget_default_layout/i)
  end

  it "should let you use a default layout that's a widget, and render a widget inside it" do
    data = get("widget_with_widget_default_layout")
    data.should match(/widget_default_layout/i)
    data.should match(/widget_with_widget_default_layout/i)
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.9.6-java spec/rails/default_layout_system_spec.rb
fortitude-0.9.6 spec/rails/default_layout_system_spec.rb
fortitude-0.9.5-java spec/rails/default_layout_system_spec.rb
fortitude-0.9.5 spec/rails/default_layout_system_spec.rb
fortitude-0.9.4-java spec/rails/default_layout_system_spec.rb
fortitude-0.9.4 spec/rails/default_layout_system_spec.rb
fortitude-0.9.3-java spec/rails/default_layout_system_spec.rb
fortitude-0.9.3 spec/rails/default_layout_system_spec.rb
fortitude-0.9.2-java spec/rails/default_layout_system_spec.rb
fortitude-0.9.2 spec/rails/default_layout_system_spec.rb
fortitude-0.9.1-java spec/rails/default_layout_system_spec.rb
fortitude-0.9.1 spec/rails/default_layout_system_spec.rb
fortitude-0.9.0-java spec/rails/default_layout_system_spec.rb
fortitude-0.9.0 spec/rails/default_layout_system_spec.rb
fortitude-0.0.10-java spec/rails/default_layout_system_spec.rb
fortitude-0.0.10 spec/rails/default_layout_system_spec.rb
fortitude-0.0.9-java spec/rails/default_layout_system_spec.rb
fortitude-0.0.9 spec/rails/default_layout_system_spec.rb
fortitude-0.0.7-java spec/rails/default_layout_system_spec.rb
fortitude-0.0.7 spec/rails/default_layout_system_spec.rb