test/scene_test.rb in ray-0.1.1 vs test/scene_test.rb in ray-0.2.0

- old
+ new

@@ -10,10 +10,12 @@ @game.scene(:normal) { always { always_proc.call } } @game.registered_scene :test end + asserts(:name).equals :test + asserts(:event_runner).equals { @game.event_runner } asserts(:animations).kind_of Ray::AnimationList asserts(:frames_per_second).equals 60 context "rendered with a custom rendering block" do @@ -129,9 +131,10 @@ @game.registered_scene :my_scene end asserts_topic.kind_of MyScene + asserts(:name).equals :my_scene context "run once" do hookup do %w[setup render clean_up].each do |meth| stub(topic).__send__(meth)