-
-
Save vipulnsward/45b2f8d2e50c254dc390 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Gemfile b/Gemfile | |
index 755773a..4df6d3c 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -12,6 +12,7 @@ gemspec | |
gem 'rake' | |
gem 'rack-test', '>= 0.6.2' | |
+gem "minitest", "~> 5.0" | |
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`. | |
# Used by the CI. | |
@@ -33,7 +34,6 @@ if RUBY_ENGINE == 'jruby' | |
end | |
if RUBY_ENGINE == "ruby" and RUBY_VERSION > '1.9.2' | |
- gem "minitest", "~> 5.0" | |
gem 'less', '~> 2.0' | |
gem 'therubyracer' | |
gem 'redcarpet' | |
diff --git a/test/contest.rb b/test/contest.rb | |
index fdb6075..92ff336 100644 | |
--- a/test/contest.rb | |
+++ b/test/contest.rb | |
@@ -17,6 +17,7 @@ | |
# 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. | |
+require "rubygems" | |
require "minitest/autorun" | |
# Minitest loads a default test if the suite is empty, whose purpose is to | |
diff --git a/test/helper.rb b/test/helper.rb | |
index 54a5cf5..39d28d0 100644 | |
--- a/test/helper.rb | |
+++ b/test/helper.rb | |
@@ -16,6 +16,7 @@ $LOAD_PATH.unshift testdir unless $LOAD_PATH.include?(testdir) | |
libdir = File.dirname(File.dirname(__FILE__)) + '/lib' | |
$LOAD_PATH.unshift libdir unless $LOAD_PATH.include?(libdir) | |
+require 'minitest' | |
require 'contest' | |
require 'rack/test' | |
require 'sinatra/base' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment