Sha256: 387d68ddbec15be5d0ad36a7e98f39aa89006313f2b90d97febd6b1646b419cd

Contents?: true

Size: 454 Bytes

Versions: 24

Compression:

Stored size: 454 Bytes

Contents

describe "basic Rails support", :type => :rails do
  uses_rails_with_template :basic_rails_system_spec

  it "should be able to render a trivial widget" do
    expect_match("trivial_widget", /layout_default/, /hello, world/)
  end

  it "should be able to use 'render' more than once in an action, and it should work fine" do
    expect_match("double_render", /layout_default/, /hello, world.*goodbye, world.*and this is the last partial\!/mi)
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

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