Sha256: 862330afb7fabb845110af358f7bab9109a8fe9906f351e8893469ff2bd36457

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

# Stella Test Plan - Exception Handling (2009-10-08)
#
# TO BE DOCUMENTED. 
# 
# If you're reading this, remind me!
#

usecase "Exception Handling" do
  
  get "/search", "Search Results" do
    param :what  => 'No Such Listing'
    param :where => random(['Toronto', 'Montreal', 'Vancouver'])
    response 404 do
      raise NoSearchResults
    end
  end
  
end

# 0f354b3579e6c5b5b3f303aabb2ac3aa5b11096a

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stella-0.7.1 examples/exceptions/plan.rb