Properly handle pulling in fixtures code across Ruby versions

This commit is contained in:
R. Tyler Croy 2015-05-07 13:56:36 -07:00
parent 3fda5ec3f3
commit 7b4ea2f2df
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,8 @@ require 'hermann/discovery/zookeeper'
require 'protobuf'
require 'spec/fixtures/testevent.pb'
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + '/../'))
require 'fixtures/testevent.pb'
describe 'producer', :platform => :java do
include_context 'integration test context'