spec/request_spec.rb in roda-1.0.0 vs spec/request_spec.rb in roda-1.1.0

- old
+ new

@@ -60,5 +60,15 @@ body('/a/b').should == "#<Foo::RodaRequest GET /a/b>" body('REQUEST_METHOD'=>'POST').should == "#<Foo::RodaRequest POST />" end end + +describe "TERM.inspect" do + it "should return TERM" do + app do |r| + r.class::TERM.inspect + end + + body.should == "TERM" + end +end