test/tree_node_test.rb in apotomo-1.2.3 vs test/tree_node_test.rb in apotomo-1.2.4

- old
+ new

@@ -1,19 +1,14 @@ require 'test_helper' -class TreeNodeTest < ActiveSupport::TestCase - context "initialization" do - setup do - - end - - should "return true for #root? without parent" do +class TreeNodeTest < MiniTest::Spec + describe "initialization" do + it "return true for #root? without parent" do assert MouseWidget.new(nil, :mum).root? end - - should "return false for #root? with parent" do + + it "return false for #root? with parent" do @mum = MouseWidget.new(nil, :mum) assert_not MouseWidget.new(@mum, :kid).root? end - end end