test/test_helper.rb in use_case-1.0.1 vs test/test_helper.rb in use_case-1.0.2
- old
+ new
@@ -20,13 +20,13 @@
# 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.
#++
-if RUBY_VERSION > "1.9"
- require "simplecov"
- SimpleCov.start
-end
+require "simplecov"
+require "simplecov-rcov"
+SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
+SimpleCov.start
require "bundler/setup"
require "minitest/autorun"
Bundler.require(:default, :test)