Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 14 lines (9 sloc) 0.274 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14
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
Something went wrong with that request. Please try again.