test/role_test.rb in neo-dci-0.0.1 vs test/role_test.rb in neo-dci-0.1.0

- old
+ new

@@ -59,12 +59,14 @@ emo.role_as CryBaby, true assert_equal :me_a_river, emo.cry! end test "boys don't cry!" do - assert_raises Neo::DCI::Role::NotAssignable, :role => CryBaby, :object => male do + e = assert_raises Neo::DCI::Role::NotAssignable do male.role_as CryBaby end + assert_equal CryBaby, e.role + assert_equal male, e.object end test "emo cores can cry! and growl!" do emo.role_as EmoCore, true assert_equal :me_a_river, emo.cry!