mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
- 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
This commit is contained in:
parent
5f6168bfc9
commit
23c2e197c8
59 changed files with 129 additions and 128 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Tests to check if all the README examples work.
|
||||
require File.expand_path('../helper', __FILE__)
|
||||
|
||||
class ReadmeTest < Test::Unit::TestCase
|
||||
class ReadmeTest < Minitest::Test
|
||||
example do
|
||||
mock_app { get('/') { 'Hello world!' } }
|
||||
get '/'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue