Sha256: 2a45dab1f7b5a095833da648c17bbdb37e035f7962bb388063c3f01699adf35b

Contents?: true

Size: 360 Bytes

Versions: 29

Compression:

Stored size: 360 Bytes

Contents

describe "Fortitude basic operations", :type => :system do
  it "should render a widget with text" do
    expect(render(widget_class_with_content { text "hello, world" })).to eq("hello, world")
  end

  it "should render a widget with a tag" do
    expect(render(widget_class_with_content { p { text "hello, world" } })).to eq("<p>hello, world</p>")
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fortitude-0.0.6-java spec/system/basic_system_spec.rb
fortitude-0.0.6 spec/system/basic_system_spec.rb
fortitude-0.0.5-java spec/system/basic_system_spec.rb
fortitude-0.0.5 spec/system/basic_system_spec.rb
fortitude-0.0.4-java spec/system/basic_system_spec.rb
fortitude-0.0.4 spec/system/basic_system_spec.rb
fortitude-0.0.3 spec/system/basic_system_spec.rb
fortitude-0.0.2 spec/system/basic_system_spec.rb
fortitude-0.0.1 spec/system/basic_system_spec.rb