test/test_content_middleware.rb in utopia-0.12.2 vs test/test_content_middleware.rb in utopia-0.12.3

- old
+ new

@@ -16,14 +16,15 @@ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -require 'test/unit' +require 'minitest/autorun' + require 'rack/mock' require 'utopia/middleware/content' -class TestContentMiddleware < Test::Unit::TestCase +class TestContentMiddleware < MiniTest::Test APP = lambda {|env| [404, [], []]} class TestDelegate def initialize @events = []