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

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

--- 
+++ 
@@ -4,9 +4,7 @@
   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
 
Remove validations from the spec