test/results_test.rb in gemstone-0.2 vs test/results_test.rb in gemstone-0.3
- old
+ new
@@ -213,9 +213,13 @@
end
def test_executable_includes_ruby_shebang
assert_file_includes 'bin/my_gem', "#!/usr/bin/env ruby"
end
+
+ def test_executable_requires_lib_gem_file
+ assert_file_includes 'bin/my_gem', "require File.dirname(__FILE__) + '/../lib/my_gem'"
+ end
def test_executable_includes_dummy_code
assert_file_includes 'bin/my_gem', 'puts "This executable needs more love from Raul Murciano"'
end
\ No newline at end of file