Commit e2be504a

mo k <mo@mokhan.ca>
2012-06-25 16:35:33
remove spec
1 parent 7103af5
Changed files (1)
spec/controllers/registrations_controller_spec.rb
@@ -30,30 +30,4 @@ describe RegistrationsController do
       user.should have_received(:update_without_password,@payload[:user])
     end
   end
-  describe "when updating a users pasword" do
-    before(:each) do
-      @payload = {
-        :user => {
-          :current_password => '',
-          :email => 'mo@mokhan.ca',
-          :facebook => 'mo',
-          :name =>'mo',
-          :password => 'secret',
-          :password_confirmation => 'secret',
-          :twitter => 'mocheen',
-          :website => 'http://mokhan.ca/',
-          :interest_ids => []
-        }
-      }
-      sut.stub(:current_user).and_return(user)
-      sut.stub(:params).and_return(@payload)
-      sut.stub(:update_with_password).and_return(true)
-      sut.stub(:render).and_return(true)
-
-      sut.update
-    end
-    it "should update their password" do
-      user.should have_received(:update_with_password,@payload[:user])
-    end
-  end
 end