Commit Graph

16 Commits

Author SHA1 Message Date
Vipul A M 23c2e197c8 - Removed test-unit dependency
- updated minitest to 5.0
- Removed Test::Unit::TestCase and started using Minitest::Test instead
- Fixed usage of assert_raise
- Fixed usage of refute_nil
- Fixed and removed usage of assert_nothing_raised
2015-01-11 01:00:47 +05:30
Konstantin Haase 28af01e6af Revert "Added PROPFIND verb support" 2014-08-12 12:34:00 +02:00
Mark Bates db751b059b Added PROPFIND verb support 2014-07-03 14:38:49 -04:00
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