Olle Jonsson
1559a20b06
refactor: use __dir__ in File.expand_path
...
__dir__ is nice, and available.
2022-02-02 15:58:11 -05:00
Itamar Turner-Trauring
e3635713ac
Changelog and test.
2016-11-22 10:13:13 -05:00
Vasiliy Yaklushin
d8a6930b1e
Add quiet flag to server configuration (false by default)
...
It suppresses start and stop messages that Sinatra generates.
As requested here: https://github.com/sinatra/sinatra/issues/1148 .
2016-07-26 11:30:05 +02:00
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
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
Konstantin Haase
ab221cc646
silence logs in server_test.rb again
...
Conflicts:
test/server_test.rb
2011-06-16 14:03:29 +02:00
Konstantin Haase
e001d62669
adjust require lines for test helper, so it also works properly on 1.9.2
2011-05-11 09:44:02 +02:00
Blake Mizerany
849a5a95fc
using -b over -h option from cli for bind address
...
I've also renamed all occurrences of options.host
to options.bind
2010-02-04 17:16:05 -08:00
Ryan Tomayko
99aa7ecaf8
Use rack's new handler registration stuff to fix some failing specs
2009-05-20 18:13:38 -07:00
Simon Rozet
ff0d068687
Use contest instead of test/spec/mini
...
See <http://github.com/citrusbyte/contest > for more info. The
contest.rb file is included under the test/ directory.
2009-03-31 02:23:48 -07:00
Ryan Tomayko
bc7a939ce2
General spec coverage improvements (rcov: 98%)
2009-01-19 17:58:26 -08:00