1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
Commit graph

13 commits

Author SHA1 Message Date
Konstantin Haase
82009d446f add support for LINK and UNLINK requests 2013-03-09 18:09:56 +01:00
Matt Wildig
1c36d54778 Resolve test name conflict
In delegator_test.rb, there are two tests named
"registers helpers with the delegation target", causing "method
redefined" warnings and the first test not to be run.

Rename the second test so that all tests run.
2012-05-29 20:31:21 +01:00
Zachary Scott
46e8bd67b3 First pass at block styles for tests
TODO:
* test/routing_test.rb
* test/settings_test.rb
2012-05-21 17:21:59 -04:00
Tim Felgentreff
bfda266d93 Require test_helper in delegator_test.rb 2011-05-28 17:52:58 +02:00
Konstantin Haase
6c97d041da swaping order of assert_equal arguments where appropriate 2011-05-26 16:21:44 +02:00
Konstantin Haase
d35d44a308 use define_method rather than eval for delegation 2011-04-30 10:19:01 +02:00
Konstantin Haase
fd5113a687 dummy methods no longer needed in delegator tests 2011-04-17 10:33:42 +02:00
Konstantin Haase
7e1449a4ea use respond_to? rather than arity checks to play nice with method_missing proxies 2011-04-17 10:30:30 +02:00
Konstantin Haase
1d64be6471 one more test for delegation and method_missing proxies 2011-04-17 10:19:49 +02:00
Konstantin Haase
53b5ccde48 make Sinatra::Delegator play nice with method_missing proxies, fixes #245 2011-04-17 10:10:22 +02:00
Konstantin Haase
b03ee9f4f7 add Sinatra.use 2011-03-31 13:06:08 +02:00
Konstantin Haase
cbe5d15d42 test delegation of Sinatra.register and Sinatra.helpers 2011-03-31 13:02:04 +02:00
Konstantin Haase
a6cf359fe6 add Sinatra::Delegator.target and actually test delegation 2011-03-21 11:28:42 +01:00