```ruby
module Ajax
  module Spec
    module Extension

      def integrate_ajax
        Ajax.enabled = true
      end

      def disable_ajax
        Ajax.enabled = false
      end
      
      def mock_ajax
        integrate_ajax
        Ajax.mocked = true
      end
    end
  end
end

module ActiveSupport
  class TestCase
    include Ajax::Spec::Extension

    before(:all) do
      ::Ajax.enabled = false
    end if method_defined?(:before)
  end
end```

Fix create_admin_user. Unmock Ajax so we don't interfere with the rest of the tests.
user
```ruby
module Ajax
  module Spec
    module Extension

      def integrate_ajax
        Ajax.enabled = true
      end

      def disable_ajax
        Ajax.enabled = false
      end
      
      def mock_ajax
        integrate_ajax
        Ajax.mocked = true
      end
      
      def unmock_ajax
        disable_ajax
        Ajax.mocked = false
      end      
    end
  end
end

module ActiveSupport
  class TestCase
    include Ajax::Spec::Extension

    before(:all) do
      ::Ajax.enabled = false
    end if method_defined?(:before)
  end
end```
assistant