spec/spec_helper.rb in danger-gitlab_reviewbot-1.1.6 vs spec/spec_helper.rb in danger-gitlab_reviewbot-1.1.8
- old
+ new
@@ -8,9 +8,10 @@
require "bundler/setup"
require "pry"
require "rspec"
require "danger"
+require File.expand_path("../lib/gitlab_reviewbot/gitlab", __dir__)
if `git remote -v` == ""
puts "You cannot run tests without setting a local git remote on this repo"
puts "It's a weird side-effect of Danger's internals."
exit(0)