Sha256: fc8779385676472a5c7a4629fb07d003f5d10c85441c9a224f4da11b7f26f0bd

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

on 'flat' do
	succeed! content: "flat"
end

on '**/hello-world' do
	succeed! content: @hello_world
end

on '**' do
	@hello_world = "Hello World"
end

on 'ignore' do
	ignore!
end

on 'redirect' do
	redirect! 'bar'
end

on 'index' do
	succeed! content: 'Hello World'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
utopia-1.8.3 spec/utopia/controller/middleware_spec/controller/controller.rb
utopia-1.8.2 spec/utopia/controller/middleware_spec/controller/controller.rb
utopia-1.8.1 spec/utopia/controller/middleware_spec/controller/controller.rb
utopia-1.8.0 spec/utopia/controller/middleware_spec/controller/controller.rb