lib/shoulda/context/test_framework_detection.rb in shoulda-context-1.2.0 vs lib/shoulda/context/test_framework_detection.rb in shoulda-context-1.2.1

- old
+ new

@@ -1,13 +1,13 @@ module Shoulda module Context module TestFrameworkDetection def self.possible_test_frameworks [ - -> { ActiveSupport::TestCase }, - -> { Minitest::Test }, - -> { MiniTest::Unit::TestCase }, - -> { Test::Unit::TestCase } + lambda { ActiveSupport::TestCase }, + lambda { Minitest::Test }, + lambda { MiniTest::Unit::TestCase }, + lambda { Test::Unit::TestCase } ] end def self.resolve_framework(future_framework) future_framework.call