Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

require timeout in tests #40

Merged
merged 1 commit into from

2 participants

@ktdreyer

When running "testrb test/test_rails_autolink.rb", the test suite fails:

NameError: uninitialized constant TestRailsAutolink::Timeout

Explicitly load the timeout gem during the tests to fix this error.

@ktdreyer ktdreyer require timeout in tests
When running "testrb test/test_rails_autolink.rb", the test suite fails:

  NameError: uninitialized constant TestRailsAutolink::Timeout

Explicitly load the timeout gem during the tests to fix this error.
da6ff3c
@tardate tardate merged commit da6ff3c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 7, 2013
  1. @ktdreyer

    require timeout in tests

    ktdreyer authored
    When running "testrb test/test_rails_autolink.rb", the test suite fails:
    
      NameError: uninitialized constant TestRailsAutolink::Timeout
    
    Explicitly load the timeout gem during the tests to fix this error.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  test/test_rails_autolink.rb
View
1  test/test_rails_autolink.rb
@@ -16,6 +16,7 @@
require 'action_dispatch/testing/assertions'
require 'action_view/helpers/text_helper'
require 'action_view/helpers/output_safety_helper'
+require 'timeout'
class TestRailsAutolink < MiniTest::Unit::TestCase
include ActionView::Helpers::CaptureHelper
Something went wrong with that request. Please try again.