test/test_Builtin_Object.cpp in rice-2.2.0 vs test/test_Builtin_Object.cpp in rice-3.0.0
- old
+ new
@@ -1,15 +1,16 @@
#include "unittest.hpp"
+#include "embed_ruby.hpp"
#include "rice/Builtin_Object.hpp"
#include "rice/Class.hpp"
using namespace Rice;
TESTSUITE(Builtin_Object);
SETUP(Builtin_Object)
{
- ruby_init();
+ embed_ruby();
}
TESTCASE(construct_with_object)
{
Class c(rb_cObject);