Skip to content

Commit fbea1be

Browse files
committedJul 22, 2018
test: debugging
1 parent eeca1e0 commit fbea1be

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
 

‎spec/spec_helper.rb

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
require 'support/factories'
77
require 'support/spec_support'
88

9+
module Pact
10+
class SpecificationVersion < Gem::Version
11+
12+
def initialize string
13+
super((string || '4').tap { |it| puts "The version is #{it.inspect}" })
14+
end
15+
16+
end
17+
end
18+
919
WebMock.disable_net_connect!(allow_localhost: true)
1020

1121
require './spec/support/active_support_if_configured'

0 commit comments

Comments
 (0)
Please sign in to comment.