1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/test/event_context_test.rb
Ryan Tomayko 60d50062d7 Fix whitespace errors across all source files and tests
I can't stand this shit anymore.
2008-08-31 02:10:37 -07:00

15 lines
264 B
Ruby

require File.dirname(__FILE__) + '/helper'
context "EventContext" do
specify "DSLified setters" do
cx = Sinatra::EventContext.new(stub_everything, Rack::Response.new, {})
lambda {
cx.status 404
}.should.not.raise(ArgumentError)
end
end