Sha256: 034b022e9fc9184b8013adf6aa7db46e9dc1db165d0c03b0a0660c1db2fff8a7

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

require "spec_helper"

feature "Custom Simple Pages" do
  it "when the template and action exist" do
    visit "/custom_pages/plus"

    page.should have_content "1"
  end

  it "when the action exists but the template doesn't" do
    visit "/custom_pages/minus"

    page.should have_content "-1"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
simple_pages-0.2.1 spec/features/custom_simple_pages_spec.rb
simple_pages-0.2.0 spec/features/custom_simple_pages_spec.rb