require 'spec_helper'

describe Hero do
  describe "Validations" do
    subject { Factory(:hero) }

    it { should validate_uniqueness_of  :email }
    it { should validate_uniqueness_of  :login }
    it { should validate_presence_of    :email }
    it { should validate_presence_of    :login }
  end

  describe "Associations" do
    it { should have_many :access_tokens }
  end

end

require 'spec_helper'

describe Hero do
  describe "Validations" do
    subject { Factory(:hero) }

    it { should validate_uniqueness_of  :login }
    it { should validate_presence_of    :login }
  end

  describe "Associations" do
    it { should have_many :access_tokens }
  end

end

Remove validations from the spec
Remove validations from the spec