spec/classpath_file_spec.rb in jbundler-0.5.4 vs spec/classpath_file_spec.rb in jbundler-0.5.5
- old
+ new
@@ -75,9 +75,13 @@
end
it 'generates a classpath ruby file' do
subject.generate("a:b:c:d:f:".split(File::PATH_SEPARATOR))
File.read(cpfile).must_equal <<-EOF
+JBUNDLER_JRUBY_CLASSPATH = []
+JBUNDLER_JRUBY_CLASSPATH.freeze
+JBUNDLER_TEST_CLASSPATH = []
+JBUNDLER_TEST_CLASSPATH.freeze
JBUNDLER_CLASSPATH = []
JBUNDLER_CLASSPATH << 'a'
JBUNDLER_CLASSPATH << 'b'
JBUNDLER_CLASSPATH << 'c'
JBUNDLER_CLASSPATH << 'd'