test/test_helper.rb in use_case-0.13.0 vs test/test_helper.rb in use_case-1.0.0
- old
+ new
@@ -20,9 +20,14 @@
# 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 "bundler/setup"
require "minitest/autorun"
Bundler.require(:default, :test)