test/has_role_test.rb in aegis-1.1.4 vs test/has_role_test.rb in aegis-1.1.5

- old
+ new

@@ -10,13 +10,13 @@ @student_subclass = UserSubclass.new(:role_name => "student") @admin = User.new(:role_name => "admin") end should "know their role" do - assert :guest, @guest.role.name - assert :student, @student.role.name - assert :student_subclass, @student.role.name - assert :admin, @admin.role.name + assert_equal :guest, @guest.role.name + assert_equal :student, @student.role.name + assert_equal :student, @student_subclass.role.name + assert_equal :admin, @admin.role.name end should "know if they belong to a role" do assert @guest.guest? assert !@guest.student?