spec/resources_spec_helper.rb
# check if a SalesKing instance is available by calling /users/current.json
check if a SalesKing instance is available by calling /users/current.json
check if a SalesKing instance is available by calling / users / current . json
def sk_available?
  begin
    User.get(:current)
  rescue
    return false
  end
end
def sk_available? begin User . get ( :current ) rescue return false end end
check if a SalesKing instance is available by calling /users/current.json
check if a SalesKing instance is available by calling / users / current . json