Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make sure to use the latest gem version.

  • Loading branch information...
commit 243809920dea40460c6072d629929b20ff82bb3c 1 parent 4ac39e7
@phiggins phiggins authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 spec/minitest_spec.rb
View
6 spec/minitest_spec.rb
@@ -1,6 +1,8 @@
require 'spec_helper'
SCRIPT = <<-CODE
+require "rubygems"
+gem "minitest"
require "minitest/autorun"
require "webmock/minitest"
@@ -26,7 +28,7 @@ def run_test
# borrowed from: http://stackoverflow.com/questions/213368
ruby = File.join(Config::CONFIG.values_at('bindir', 'ruby_install_name')).
sub(/.*\s.*/m, '"\&"')
-
+
# This value makes it so the tests run in the order defined.
seed = 9001
@@ -34,7 +36,7 @@ def run_test
end
it "has access to WebMock::API's methods" do
- re = /^MiniTestWebMockTest#test_that_passes: [0-9]\.[0-9]+ s: \.$/
+ re = /^MiniTestWebMockTest#test_that_passes = [0-9]\.[0-9]+ s = \.$/
run_test.should match re
end
Please sign in to comment.
Something went wrong with that request. Please try again.