diff test/functional/auth_sources_controller_test.rb @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents cbce1fd3b1b7
children 433d4f72a19b
line wrap: on
line diff
--- a/test/functional/auth_sources_controller_test.rb	Fri Feb 24 18:36:29 2012 +0000
+++ b/test/functional/auth_sources_controller_test.rb	Fri Feb 24 19:09:32 2012 +0000
@@ -1,7 +1,6 @@
 require File.expand_path('../../test_helper', __FILE__)
 
 class AuthSourcesControllerTest < ActionController::TestCase
-  fixtures :all
 
   def setup
     @request.session[:user_id] = 1
@@ -69,7 +68,7 @@
     setup do
       @auth_source = AuthSource.generate!(:name => 'TestEdit')
     end
-    
+
     context "without users" do
       setup do
         post :destroy, :id => @auth_source.id
@@ -79,13 +78,13 @@
       should_redirect_to("index") {{:action => 'index'}}
       should_set_the_flash_to /deletion/i
     end
-    
+
     context "with users" do
       setup do
         User.generate!(:auth_source => @auth_source)
         post :destroy, :id => @auth_source.id
       end
-      
+
       should_respond_with :redirect
       should "not destroy the AuthSource" do
         assert AuthSource.find(@auth_source.id)