test/test_helper.rb in troo-0.0.7 vs test/test_helper.rb in troo-0.0.8

- old
+ new

@@ -1,29 +1,29 @@ -require "simplecov" -require "minitest/autorun" -require "minitest/pride" -require "fabrication" +require 'simplecov' +require 'minitest/autorun' +require 'minitest/pride' +require 'fabrication' SimpleCov.start do - command_name "MiniTest::Spec" - add_filter "/test/" + command_name 'MiniTest::Spec' + add_filter '/test/' end module MiniTest class Spec class << self alias_method :context, :describe end end end -require_relative "./support/vcr_setup.rb" -require_relative "../lib/troo.rb" -require_relative "./support/fabrication.rb" +require_relative './support/vcr_setup.rb' +require_relative '../lib/troo.rb' +require_relative './support/fabrication.rb' Ohm.connect(db: Troo.config.test_db) -require "mocha/setup" +require 'mocha/setup' def database_cleanup(delay = 0) Ohm.redis.flushdb sleep delay if delay > 0 end