test/test_Struct.cpp in rice-2.2.0 vs test/test_Struct.cpp in rice-3.0.0
- old
+ new
@@ -1,6 +1,7 @@
#include "unittest.hpp"
+#include "embed_ruby.hpp"
#include "rice/Struct.hpp"
#include "rice/Symbol.hpp"
#include "rice/global_function.hpp"
using namespace Rice;
@@ -20,10 +21,10 @@
}
}
SETUP(Struct)
{
- ruby_init();
+ embed_ruby();
}
TESTCASE(default_construct)
{
Struct s;