test/test_kagami.rb in kagami-0.1.0 vs test/test_kagami.rb in kagami-0.1.3
- old
+ new
@@ -1,9 +1,16 @@
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
+require 'coveralls'
+Coveralls.wear!
+
$VERBOSE = true
require 'minitest/autorun'
-require 'minitest/pride'
+begin
+ require 'minitest/pride'
+rescue LoadError
+ # ignore error for old ruby
+end
require 'kagami'
describe "Kagami" do
ONE_LINE_DATA = "The internet >>> Ruby >>>> Java and you"
MULTI_LINE_DATA = <<-EOD