spec/models/activerecord/team.rb in merb-admin-0.6.4 vs spec/models/activerecord/team.rb in merb-admin-0.6.5

- old
+ new

@@ -1,8 +1,7 @@ class Team < ActiveRecord::Base validates_numericality_of(:league_id, :only_integer => true) validates_numericality_of(:division_id, :only_integer => true) - validates_presence_of(:name) validates_presence_of(:manager) validates_numericality_of(:founded, :only_integer => true) validates_numericality_of(:wins, :only_integer => true) validates_numericality_of(:losses, :only_integer => true) validates_numericality_of(:win_percentage)