Permalink
Browse files

turn doesn't like non-ruby under test/

  • Loading branch information...
1 parent 7b077bf commit 62cdd30f63f76330a1b9845238d3da01461dcddf @bmizerany bmizerany committed Jun 3, 2011
Showing with 2 additions and 1 deletion.
  1. BIN {test → dat}/code_generator_request.dat
  2. +2 −1 test/generator_test.rb
@@ -4,7 +4,8 @@ class GeneratorTest < Test::Unit::TestCase
def setup
# Load up the generator request for the addressbook.proto example
- mock_request = File.read(File.expand_path("../code_generator_request.dat", __FILE__))
+ dat = File.dirname(__FILE__) + "/../dat/code_generator_request.dat"
+ mock_request = File.read(dat)
@req = CodeGeneratorRequest.decode(mock_request)
end

0 comments on commit 62cdd30

Please sign in to comment.