test/test_helper.rb
def log_in (user)
    if integration_test?
      login_as(user,:scope=>:user)
    else
      sign_in(user)
    end
  end
# Add more helper methods to be used by all tests here...
Add more helper methods to be used by all tests here
Add more helper methods to be used by all tests here
def log_in (user)
    if integration_test?
      login_as(user,:scope=>:user)
    else
      sign_in(user)
    end
  end
def log_in ( user ) if integration_test? login_as ( user , :scope => :user ) else sign_in ( user ) end end
Add more helper methods to be used by all tests here...
Add more helper methods to be used by all tests here ...
user