diff --git a/META6.json b/META6.json index 39a6420..c5af63e 100644 --- a/META6.json +++ b/META6.json @@ -1,7 +1,7 @@ { "name" : "Godot::Fun", "license" : "MIT", - "version" : "0.1.0", + "version" : "0.2.0", "perl" : "6.d", "description" : "Raku fun with Godot", "test-depends" : [ diff --git a/t/02-project.rakutest b/t/02-project.rakutest index 67d1190..433a7f1 100644 --- a/t/02-project.rakutest +++ b/t/02-project.rakutest @@ -13,7 +13,8 @@ my $temp_folder = $*TMPDIR.add(q{raku-godot-fun-} ~ now.Int).mkdir; ok $temp_folder ~~ :e, "folder '$temp_folder' is found"; # Create empty godot scene -my $scene = Godot::Fun::Scene.new(name => 'Hello', type => 'Spatial'); +my $spatial = Godot::Fun::Spatial.new(name => 'Spatial'); +my $scene = Godot::Fun::Scene.new(name => 'Hello', root_node => $spatial); $scene.save($temp_folder.Str); # Create godot project