Sha256: 595a1f45fd1aad14a87f5285a74665e94aeb0f8724fe44c14a1ab41579267571

Contents?: true

Size: 336 Bytes

Versions: 4

Compression:

Stored size: 336 Bytes

Contents

class CustomFileNotFoundPage < FileNotFoundPage
end

class FileNotFoundScenario < Scenario::Base
  uses :home_page
  
  def load
    create_page "File Not Found", :slug => "missing", :class_name => "FileNotFoundPage"
    create_page "Gallery" do
      create_page "No Picture", :class_name => "CustomFileNotFoundPage"
    end 
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
radiant-0.6.5.1 spec/scenarios/file_not_found_scenario.rb
radiant-0.6.5 spec/scenarios/file_not_found_scenario.rb
radiant-0.6.7 spec/scenarios/file_not_found_scenario.rb
radiant-0.6.6 spec/scenarios/file_not_found_scenario.rb