mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
60d50062d7
I can't stand this shit anymore.
15 lines
264 B
Ruby
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
|
|
|